From b9a916e081c4be4e960c7168feb7c04c2e8afdb6 Mon Sep 17 00:00:00 2001 From: Crsi <47722349+CrsiX@users.noreply.github.com> Date: Sun, 4 Jun 2023 07:21:24 +0200 Subject: [PATCH] Fixed special case to allow winning player to continue the MP game (#9509) --- core/src/com/unciv/ui/screens/worldscreen/WorldScreen.kt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/src/com/unciv/ui/screens/worldscreen/WorldScreen.kt b/core/src/com/unciv/ui/screens/worldscreen/WorldScreen.kt index fd6c75903c..78e4bc3dd9 100644 --- a/core/src/com/unciv/ui/screens/worldscreen/WorldScreen.kt +++ b/core/src/com/unciv/ui/screens/worldscreen/WorldScreen.kt @@ -617,8 +617,8 @@ class WorldScreen( debug("Next turn took %sms", System.currentTimeMillis() - startTime) - // Special case: when you are the only human player, the game will always be up to date - if (gameInfo.gameParameters.isOnlineMultiplayer && gameInfoClone.civilizations.filter { it.playerType == PlayerType.Human }.size == 1) { + // Special case: when you are the only alive human player, the game will always be up to date + if (gameInfo.gameParameters.isOnlineMultiplayer && gameInfoClone.civilizations.filter { it.isAlive() && it.playerType == PlayerType.Human }.size == 1) { gameInfoClone.isUpToDate = true }