TETRIS: Fix restart

This commit is contained in:
2021-03-14 17:02:41 +01:00
parent 594316dcea
commit 406186d8bb
4 changed files with 12 additions and 5 deletions
+2
View File
@@ -118,6 +118,8 @@ void quitGame() {
}
void resetGame() {
std::lock_guard< std::mutex > guard( g_render_mutex );
std::lock_guard< std::mutex > guard2( g_movement_mutex );
g_cur_object.reset();
g_checked_line = true;
g_next_object.reset();