Resolved #454 - Allow starting game with 0 AIs when there are 2 or more human players

This commit is contained in:
Yair Morgenstern 2019-02-16 23:41:11 +02:00
parent 356f8b6bbd
commit d581ca924f

View file

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