diff --git a/core/src/com/unciv/models/metadata/GameSettings.kt b/core/src/com/unciv/models/metadata/GameSettings.kt index d99933c9368ce..ad0b5c6ce5575 100644 --- a/core/src/com/unciv/models/metadata/GameSettings.kt +++ b/core/src/com/unciv/models/metadata/GameSettings.kt @@ -96,8 +96,6 @@ class GameSettings { var autoPlay = GameSettingsAutoPlay() - var enableEspionageOption = false - // This is a string not an enum so if tabs change it won't screw up the json serialization var lastOverviewPage = EmpireOverviewCategories.Cities.name diff --git a/core/src/com/unciv/ui/popups/options/DebugTab.kt b/core/src/com/unciv/ui/popups/options/DebugTab.kt index bb2e64285398e..07908efa3dacf 100644 --- a/core/src/com/unciv/ui/popups/options/DebugTab.kt +++ b/core/src/com/unciv/ui/popups/options/DebugTab.kt @@ -64,9 +64,6 @@ fun debugTab( curGameInfo.gameParameters.godMode = it }).colspan(2).row() } - add("Enable espionage option".toCheckBox(game.settings.enableEspionageOption) { - game.settings.enableEspionageOption = it - }).colspan(2).row() add("Save games compressed".toCheckBox(UncivFiles.saveZipped) { UncivFiles.saveZipped = it diff --git a/core/src/com/unciv/ui/screens/newgamescreen/GameOptionsTable.kt b/core/src/com/unciv/ui/screens/newgamescreen/GameOptionsTable.kt index c378a6fd36203..e1543a86706cb 100644 --- a/core/src/com/unciv/ui/screens/newgamescreen/GameOptionsTable.kt +++ b/core/src/com/unciv/ui/screens/newgamescreen/GameOptionsTable.kt @@ -121,8 +121,7 @@ class GameOptionsTable( it.addRagingBarbariansCheckbox() it.addOneCityChallengeCheckbox() it.addNuclearWeaponsCheckbox() - if (UncivGame.Current.settings.enableEspionageOption) - it.addEnableEspionageCheckbox() + it.addEnableEspionageCheckbox() it.addNoStartBiasCheckbox() it.addRandomPlayersCheckbox() it.addRandomCityStatesCheckbox()