Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/ClusterM/space-dragon.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/game.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game.c b/src/game.c
index affca32..29cffb4 100644
--- a/src/game.c
+++ b/src/game.c
@@ -162,7 +162,7 @@ static void update_asteroids()
asteroid->x += asteroid->speed_x;
asteroid->y += asteroid->speed_y;
// Game over?
- if (!god_mode && is_boom(asteroid) && !game_over_stop_time)
+ if (!game_over && !god_mode && is_boom(asteroid) && !game_over_stop_time)
{
vibes_short_pulse();
game_over_stop_time = time_ticks + (500 / UPDATE_INTERVAL); // Some more time to rumble...