Don't open menu immidiately upon death.
This commit is contained in:
parent
5e3815a233
commit
83aa92943f
|
@ -588,10 +588,10 @@ run_game(void)
|
||||||
camera_shake(VECTOR2D_RIGHT, 800);
|
camera_shake(VECTOR2D_RIGHT, 800);
|
||||||
gui_log("The dungeon consumed you");
|
gui_log("The dungeon consumed you");
|
||||||
gui_event_message("You died!");
|
gui_event_message("You died!");
|
||||||
|
gui_event_message("Press ESC to open menu");
|
||||||
mixer_play_effect(SPLAT);
|
mixer_play_effect(SPLAT);
|
||||||
gGameState = GAME_OVER;
|
gGameState = GAME_OVER;
|
||||||
createInGameGameOverMenu();
|
createInGameGameOverMenu();
|
||||||
toggleInGameMenu(NULL);
|
|
||||||
} else {
|
} else {
|
||||||
check_next_level();
|
check_next_level();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue