fixed showing wrong playfield actions when closing "replace tape" door
authorHolger Schemel <holger.schemel@virtion.de>
Mon, 6 Jan 2025 15:43:44 +0000 (16:43 +0100)
committerHolger Schemel <holger.schemel@virtion.de>
Mon, 6 Jan 2025 15:43:44 +0000 (16:43 +0100)
This bug was introduced by commit feec08d4.

src/game.c

index f1b37dc551f7abf358dff29e8c07b807bf6203b5..196e76173876bff18823ccaba0a3ebc7ded1b11e 100644 (file)
@@ -5393,10 +5393,10 @@ void GameEnd(void)
 
   if (game.LevelSolved_SaveScore && scores.last_added >= 0 && setup.show_scores_after_game)
   {
-    CloseDoor(DOOR_CLOSE_ALL);
-
     SetGameStatus(GAME_MODE_SCORES);
 
+    CloseDoor(DOOR_CLOSE_ALL);
+
     DrawHallOfFame(last_level_nr);
   }
   else if (scores.continue_playing)