perf(minor)

This commit is contained in:
yairm210 2024-12-01 19:30:46 +02:00
parent 935d0ff1e2
commit b1fe404222

View File

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