mirror of
https://github.com/yairm210/Unciv.git
synced 2025-09-27 13:55:54 -04:00
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
@ -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…
x
Reference in New Issue
Block a user