mirror of
https://github.com/yairm210/Unciv.git
synced 2024-12-22 23:34:24 +07:00
perf(minor)
This commit is contained in:
parent
935d0ff1e2
commit
b1fe404222
@ -272,9 +272,9 @@ class CivInfoStatsForNextTurn(val civInfo: Civilization) {
|
||||
statMap.add(key, value)
|
||||
}
|
||||
|
||||
val transportUpkeep = getTransportationUpkeep() * -1
|
||||
val transportUpkeep = getTransportationUpkeep()
|
||||
if (transportUpkeep.happiness != 0f)
|
||||
statMap["Transportation Upkeep"] = transportUpkeep.happiness
|
||||
statMap["Transportation Upkeep"] = -transportUpkeep.happiness
|
||||
|
||||
for ((key, value) in getGlobalStatsFromUniques())
|
||||
statMap.add(key,value.happiness)
|
||||
|
Loading…
Reference in New Issue
Block a user