diff --git a/core/src/com/unciv/models/ruleset/unique/Unique.kt b/core/src/com/unciv/models/ruleset/unique/Unique.kt index 10a8c5fb40..f59e06294f 100644 --- a/core/src/com/unciv/models/ruleset/unique/Unique.kt +++ b/core/src/com/unciv/models/ruleset/unique/Unique.kt @@ -314,13 +314,18 @@ class TemporaryUnique() : IsPartOfGameInfoSerialization { constructor(uniqueObject: Unique, turns: Int) : this() { unique = uniqueObject.text + sourceObjectType = uniqueObject.sourceObjectType + sourceObjectName = uniqueObject.sourceObjectName turnsLeft = turns } var unique: String = "" + var sourceObjectType: UniqueTarget? = null + var sourceObjectName: String? = null + @delegate:Transient - val uniqueObject: Unique by lazy { Unique(unique) } + val uniqueObject: Unique by lazy { Unique(unique, sourceObjectType, sourceObjectName) } var turnsLeft: Int = 0 }