Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
use synced_context: fix mp observers
with the new synced_context system, the old code would bring code in the wrong order onto the replay if we received data during get_user_choice which now could be called during turn_info::handle_turn. also previous code would fail to process [turn] [command] [move] x = 3,4,5 y = 4,3,3 [/move] [/command] [/turn] [turn] [command] dependent = yes [input] [/input] [/command] [/turn] because [input] would be processed after [move] was processed, but [move] need [input] on the replay to work properly. (if luas sync_choice was called from a moveto event) this commit is part or pr 121.
- Loading branch information
Showing
3 changed files
with
18 additions
and
8 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