mirror of
https://github.com/yairm210/Unciv.git
synced 2025-09-27 13:55:54 -04:00
= 1F instead of += 1 (#3487)
This commit is contained in:
parent
908cae1881
commit
65cc56b5d7
@ -537,7 +537,7 @@ class CityStats {
|
|||||||
newFinalStatList.clear() // NOPE
|
newFinalStatList.clear() // NOPE
|
||||||
|
|
||||||
if (newFinalStatList.values.map { it.production }.sum() < 1) // Minimum production for things to progress
|
if (newFinalStatList.values.map { it.production }.sum() < 1) // Minimum production for things to progress
|
||||||
newFinalStatList["Production"] = Stats().apply { production += 1 }
|
newFinalStatList["Production"] = Stats().apply { production = 1F }
|
||||||
finalStatList = newFinalStatList
|
finalStatList = newFinalStatList
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user