Fix bug where level 0 uses previous game's update_interval

cpp
Elnu 3 years ago
parent 67322d79c3
commit baa8bdcfd8

@ -401,6 +401,7 @@ int main()
grid[y][x] = nullptr; grid[y][x] = nullptr;
} }
} }
update_interval = get_update_interval(0);
game_over_sound.play(); game_over_sound.play();
} else { } else {
tiles += block.get_tiles().size(); tiles += block.get_tiles().size();

Loading…
Cancel
Save