• Terence Martin's avatar
    Fix drop ball bug introduced yesterday · 5e7cb088
    Terence Martin authored
    Yesterday I introduced some new code where we could detect a vanished
    ball but not trigger the notification that a ball drop was complete if
    the ball was being vanished due to it being a blocked ball.
    
    This was a bit flawed but unfortunatey I didn't notice it until it was
    too late. Basically it would not trigger for a ball that vanished
    because it got to the goal, because I used the wrong variable to track
    if the event should trigger or not (_droppedBall instead of
    _lastDroppedBall) and since _droppedBall gets cleared as soon as the
    vanish is called, such a ball is treated like a blocked ball.
    
    This has been fixed by using the correct variable.
    5e7cb088
Name
Last commit
Last update
bootstrap Loading commit data...
css Loading commit data...
images Loading commit data...
js Loading commit data...
tools Loading commit data...
ts Loading commit data...
.gitignore Loading commit data...
LICENSE Loading commit data...
README.md Loading commit data...
devember-2016.sublime-project Loading commit data...
index.html Loading commit data...