mirror of
https://github.com/yairm210/Unciv.git
synced 2025-03-10 04:43:29 +07:00
Fix PercentProductionBuildings and PercentProductionWonders (#5588)
This commit is contained in:
parent
03cebbdd42
commit
6172a893b8
@ -273,9 +273,9 @@ class CityStats(val cityInfo: CityInfo) {
|
||||
}
|
||||
|
||||
val uniquesToCheck =
|
||||
if (currentConstruction is Building && !currentConstruction.isAnyWonder()) {
|
||||
if (currentConstruction is Building && currentConstruction.isAnyWonder()) {
|
||||
uniques.filter { it.isOfType(UniqueType.PercentProductionWonders) }
|
||||
} else if (currentConstruction is Building && currentConstruction.isAnyWonder()) {
|
||||
} else if (currentConstruction is Building && !currentConstruction.isAnyWonder()) {
|
||||
uniques.filter { it.isOfType(UniqueType.PercentProductionBuildings) }
|
||||
} else if (currentConstruction is BaseUnit) {
|
||||
uniques.filter { it.isOfType(UniqueType.PercentProductionUnits) }
|
||||
|
Loading…
Reference in New Issue
Block a user