added returning from game actions if winning game completely handled
authorHolger Schemel <holger.schemel@virtion.de>
Mon, 6 Jan 2025 17:48:27 +0000 (18:48 +0100)
committerHolger Schemel <holger.schemel@virtion.de>
Mon, 6 Jan 2025 17:51:45 +0000 (18:51 +0100)
src/game.c

index 229a3ffede7fdc11955420d1cc4708fc1bc63da4..e9710f306450ef84336a3eff1ee12abf5ca28bc4 100644 (file)
@@ -12271,7 +12271,11 @@ static void GameActionsExt(void)
   CheckLevelSolved();
 
   if (game.LevelSolved && !game.LevelSolved_GameEnd)
-    GameWon();
+  {
+    // handle winning game until completely finished and game ended
+    if (GameWon())
+      return;
+  }
 
   if (game.all_players_gone && !TAPE_IS_STOPPED(tape))
     TapeStop();