Resolved #1332 - can no longer get settlers from ruins in One City challenge

This commit is contained in:
Yair Morgenstern 2019-11-15 14:31:19 +02:00
parent 827bf3d4b2
commit e7b6450a71

View file

@ -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()