Resolved #454 - Allow starting game with 0 AIs when there are 2 or more human players
This commit is contained in:
parent
356f8b6bbd
commit
d581ca924f
1 changed files with 1 additions and 1 deletions
|
@ -31,7 +31,7 @@ class VictoryManager {
|
|||
|
||||
fun hasWonCulturalVictory() = civInfo.policies.adoptedPolicies.count{it.endsWith("Complete")} > 3
|
||||
|
||||
fun hasWonConquestVictory() = civInfo.gameInfo.civilizations.all { it.isPlayerCivilization() || it.isDefeated() }
|
||||
fun hasWonConquestVictory() = civInfo.gameInfo.civilizations.all { it==civInfo || it.isDefeated() }
|
||||
|
||||
fun hasWon() = hasWonConquestVictory() || hasWonCulturalVictory() || hasWonScientificVictory()
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue