From baa8bdcfd8d6e003c079229bd07e3d2ed065c8cd Mon Sep 17 00:00:00 2001 From: ElnuDev Date: Sun, 13 Mar 2022 12:59:55 -0700 Subject: [PATCH] Fix bug where level 0 uses previous game's update_interval --- src/Main.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Main.cpp b/src/Main.cpp index 773ad4c..b941a63 100644 --- a/src/Main.cpp +++ b/src/Main.cpp @@ -401,6 +401,7 @@ int main() grid[y][x] = nullptr; } } + update_interval = get_update_interval(0); game_over_sound.play(); } else { tiles += block.get_tiles().size();