mirror of
https://github.com/yairm210/Unciv.git
synced 2025-10-03 08:56:17 -04: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 getCapital()=cities.first { it.isCapital() }
|
||||||
fun isPlayerCivilization() = playerType==PlayerType.Human
|
fun isPlayerCivilization() = playerType==PlayerType.Human
|
||||||
fun isPlayerOneCityChallenger() = (
|
fun isPlayerOneCityChallenger() = (
|
||||||
playerType==PlayerType.Human &&
|
playerType==PlayerType.Human &&
|
||||||
!cities.isEmpty() &&
|
|
||||||
gameInfo.gameParameters.oneCityChallenge)
|
gameInfo.gameParameters.oneCityChallenge)
|
||||||
fun isCurrentPlayer() = gameInfo.getCurrentPlayerCivilization()==this
|
fun isCurrentPlayer() = gameInfo.getCurrentPlayerCivilization()==this
|
||||||
fun isBarbarian() = nation.isBarbarian()
|
fun isBarbarian() = nation.isBarbarian()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user