Fix bug where level 0 uses previous game's update_interval
This commit is contained in:
parent
67322d79c3
commit
baa8bdcfd8
1 changed files with 1 additions and 0 deletions
|
@ -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();
|
||||
|
|
Loading…
Add table
Reference in a new issue