From 6999c82df7c989eb8b2a7cc98f0f1e108df34910 Mon Sep 17 00:00:00 2001 From: Holger Schemel Date: Fri, 17 Aug 2018 13:02:53 +0200 Subject: [PATCH] added using counter of players that still have to enter an exit --- src/game.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/game.c b/src/game.c index 2e504df5..e1522b58 100644 --- a/src/game.c +++ b/src/game.c @@ -4422,6 +4422,10 @@ void InitAmoebaNr(int x, int y) static void PlayerWins(struct PlayerInfo *player) { + if (level.game_engine_type == GAME_ENGINE_TYPE_RND && + local_player->players_still_needed > 0) + return; + player->LevelSolved = TRUE; player->GameOver = TRUE; -- 2.34.1