Skip to content

Commit

Permalink
Fix new game replay cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
chouhy committed Jan 5, 2022
1 parent 7e1b6c8 commit c3165c9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tetris_ai/Replay.h
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,7 @@ namespace RP {
undoSteps = 0;
}
void reset(int undo) {
temp_evt.clear();
undoSteps = undo;
evt.clear();
options.clear();
Expand Down

0 comments on commit c3165c9

Please sign in to comment.