-
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: prevent multiple pieces from adding at once
User input was causing do_next_action to fire multiple times, which in some cases led to multiple pieces starting at once. This adds a new feature - add_piece_next_tick() - to opt-in to a new piece being added on the next tick. We should still prevent next_action from firing multiple times, but that's next and this is more resilient for all actions.
- Loading branch information
1 parent
af78636
commit 72b859e
Showing
3 changed files
with
23 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters