fixed asking to play again on player input after tape with game over
authorHolger Schemel <info@artsoft.org>
Fri, 24 Feb 2023 19:22:29 +0000 (20:22 +0100)
committerHolger Schemel <info@artsoft.org>
Fri, 24 Feb 2023 19:22:43 +0000 (20:22 +0100)
src/game.c

index edf9686c4158e8f42c0f31cc65bfa38f55cef42b..a2afc3e3cb157c61f468c2a71132609667895563 100644 (file)
@@ -11904,7 +11904,7 @@ static void GameActionsExt(void)
     TapeRecordAction(tape_action);
 
   // remember if game was played (especially after tape stopped playing)
-  if (!tape.playing && summarized_player_action)
+  if (!tape.playing && summarized_player_action && !checkGameFailed())
     game.GamePlayed = TRUE;
 
 #if USE_NEW_PLAYER_ASSIGNMENTS