edit game_restart

This commit is contained in:
thibault perrier committed 2022-01-06 17:35:52 +01:00
1 parent 7cbf8776cc
commit 6d2378395c
1 file changed
+1 -1
+1 -1
View File
@@ -271,5 +271,5 @@ void game_restart(game g) {
} }
game_update_flags(g); game_update_flags(g);
history_delete_entire_history(g->hist); history_delete_entire_history(g->hist);
g->hist = NULL; g->hist = history_insert_first(history_create_empty(),F_ERROR,0,0);
} }