From e5b7a9d25667e4910c532efe077badfba2e9b7d1 Mon Sep 17 00:00:00 2001 From: Holger Schemel Date: Mon, 6 Jan 2025 18:48:27 +0100 Subject: [PATCH] added returning from game actions if winning game completely handled --- src/game.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/game.c b/src/game.c index 229a3ffe..e9710f30 100644 --- a/src/game.c +++ b/src/game.c @@ -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(); -- 2.34.1