From e7b6450a7153b44cc59a284f0e3dba0fafc0d533 Mon Sep 17 00:00:00 2001 From: Yair Morgenstern Date: Fri, 15 Nov 2019 14:31:19 +0200 Subject: [PATCH] Resolved #1332 - can no longer get settlers from ruins in One City challenge --- core/src/com/unciv/logic/civilization/CivilizationInfo.kt | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/core/src/com/unciv/logic/civilization/CivilizationInfo.kt b/core/src/com/unciv/logic/civilization/CivilizationInfo.kt index 4c7dc926c6..660097cd79 100644 --- a/core/src/com/unciv/logic/civilization/CivilizationInfo.kt +++ b/core/src/com/unciv/logic/civilization/CivilizationInfo.kt @@ -129,8 +129,7 @@ class CivilizationInfo { fun getCapital()=cities.first { it.isCapital() } fun isPlayerCivilization() = playerType==PlayerType.Human fun isPlayerOneCityChallenger() = ( - playerType==PlayerType.Human && - !cities.isEmpty() && + playerType==PlayerType.Human && gameInfo.gameParameters.oneCityChallenge) fun isCurrentPlayer() = gameInfo.getCurrentPlayerCivilization()==this fun isBarbarian() = nation.isBarbarian()