diff --git a/core/src/com/unciv/logic/city/CityReligion.kt b/core/src/com/unciv/logic/city/CityReligion.kt index 242bfd74f0..4438a8864e 100644 --- a/core/src/com/unciv/logic/city/CityReligion.kt +++ b/core/src/com/unciv/logic/city/CityReligion.kt @@ -19,6 +19,7 @@ class CityInfoReligionManager { @Transient private val followers: Counter = Counter() + @delegate:Transient private val pressureFromAdjacentCities: Int by lazy { when (cityInfo.civInfo.gameInfo.gameParameters.gameSpeed) { GameSpeed.Quick -> 9 diff --git a/core/src/com/unciv/models/metadata/GameSettings.kt b/core/src/com/unciv/models/metadata/GameSettings.kt index 9095fcf2e5..8586d21fa4 100644 --- a/core/src/com/unciv/models/metadata/GameSettings.kt +++ b/core/src/com/unciv/models/metadata/GameSettings.kt @@ -62,7 +62,7 @@ class GameSettings { } fun addCompletedTutorialTask(tutorialTask: String) { - tutorialTasksCompleted.add(tutorialTask) - save() + if (tutorialTasksCompleted.add(tutorialTask)) + save() } }