mirror of
https://github.com/yairm210/Unciv.git
synced 2025-01-24 18:06:04 +07:00
Resolved #1332 - can no longer get settlers from ruins in One City challenge
This commit is contained in:
parent
827bf3d4b2
commit
e7b6450a71
@ -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()
|
||||
|
Loading…
Reference in New Issue
Block a user