mirror of
https://github.com/yairm210/Unciv.git
synced 2025-09-22 19:08:48 -04:00
Don't store it dammit
This commit is contained in:
parent
15759b143f
commit
54e1555ddb
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user