added asking for restart after game was lost (MM game engine only)
[rocksndiamonds.git] / src / screens.c
index 1a2bc9b7e24a778c3e02402cbfa67ff26c6e370b..e20f4deb67a8fe729b207733fdf6dfc5d83ad83b 100644 (file)
@@ -7091,6 +7091,9 @@ void HandleSetupScreen(int mx, int my, int dx, int dy, int button)
 
 void HandleGameActions()
 {
+  if (game.restart_game_message != NULL)
+    RequestRestartGame(game.restart_game_message);
+
   if (game_status != GAME_MODE_PLAYING)
     return;