= 1F instead of += 1 (#3487)

This commit is contained in:
9kgsofrice 2021-01-01 11:49:48 +00:00 committed by GitHub
parent 908cae1881
commit 65cc56b5d7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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