Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Refactor how game events are pumped.
game_events::pump() now records the events in the event queue at the time it is called. This isolates those events from any that might be fired within one of the events (e.g. with [fire_event]). For an example of what was happening, see bug #21031. Fixes bug #21031.
- Loading branch information
Showing
1 changed file
with
81 additions
and
28 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