mirror of
https://github.com/yairm210/Unciv.git
synced 2025-09-27 22:06:05 -04:00
remove transient (#3688)
since it not only blocks serialization it also blocks deserialization
This commit is contained in:
parent
870bf9fc32
commit
fd177b1200
@ -53,7 +53,7 @@ open class TileInfo {
|
|||||||
lateinit var baseTerrain: String
|
lateinit var baseTerrain: String
|
||||||
val terrainFeatures: ArrayList<String> = ArrayList()
|
val terrainFeatures: ArrayList<String> = ArrayList()
|
||||||
|
|
||||||
@Transient // So it won't be serialized from now on
|
//@Transient // So it won't be serialized from now on
|
||||||
@Deprecated(message = "Since 3.13.7 - gets replaced by terrainFeatures")
|
@Deprecated(message = "Since 3.13.7 - gets replaced by terrainFeatures")
|
||||||
var terrainFeature: String? = null
|
var terrainFeature: String? = null
|
||||||
get() = terrainFeatures.firstOrNull()
|
get() = terrainFeatures.firstOrNull()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user