From 54e1555ddb4c9aa9b13e1d8d7ee464d967ceb926 Mon Sep 17 00:00:00 2001 From: yairm210 Date: Mon, 8 Jul 2024 13:45:31 +0300 Subject: [PATCH] Don't store it dammit --- core/src/com/unciv/logic/city/City.kt | 1 + 1 file changed, 1 insertion(+) diff --git a/core/src/com/unciv/logic/city/City.kt b/core/src/com/unciv/logic/city/City.kt index 10ff035423..ffb95c752f 100644 --- a/core/src/com/unciv/logic/city/City.kt +++ b/core/src/com/unciv/logic/city/City.kt @@ -239,6 +239,7 @@ class City : IsPartOfGameInfoSerialization, INamed { fun getStrength() = cityConstructions.getBuiltBuildings().sumOf { it.cityStrength }.toFloat() // This should probably be configurable + @Transient private val MAX_AIR_UNITS = 6 /** Gets max air units that can remain in the city untransported */ fun getMaxAirUnits() = MAX_AIR_UNITS