mirror of
https://github.com/yairm210/Unciv.git
synced 2025-03-03 06:04:02 +07:00
Resolved #2074 - Fixed domination victory
This commit is contained in:
parent
7bd0365a8e
commit
978f5bda53
@ -37,7 +37,7 @@ class VictoryManager {
|
||||
&& civInfo.policies.adoptedPolicies.count{it.endsWith("Complete")} > 4
|
||||
|
||||
fun hasWonDominationVictory() = civInfo.gameInfo.gameParameters.victoryTypes.contains(VictoryType.Domination)
|
||||
&& civInfo.gameInfo.civilizations.all { it==civInfo || it.isDefeated() || it.isCityState() }
|
||||
&& civInfo.gameInfo.civilizations.all { it==civInfo || it.isDefeated() || !it.isMajorCiv() }
|
||||
|
||||
fun hasWonVictoryType(): VictoryType? {
|
||||
if(!civInfo.isMajorCiv()) return null
|
||||
|
Loading…
Reference in New Issue
Block a user