Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
replay controller uses game_board to do resets
This is not a strict refactor -- the game map will also be reset to the starting configuration now, when we reset the replay. It doesn't look like this was the case in the old version, so it's possible that if a scenario used [replace_map] or similar, the replay could go out of sync after hitting the reset button. Regardless of whether the old version was buggy, the new version should be just as good if not better, and was tested.
- Loading branch information
Showing
2 changed files
with
3 additions
and
7 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