Skip to content

Commit

Permalink
Removed espionage debug setting (#11658)
Browse files Browse the repository at this point in the history
  • Loading branch information
tuvus authored May 29, 2024
1 parent 498a64f commit 9757cae
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 7 deletions.
2 changes: 0 additions & 2 deletions core/src/com/unciv/models/metadata/GameSettings.kt
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
3 changes: 0 additions & 3 deletions core/src/com/unciv/ui/popups/options/DebugTab.kt
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit 9757cae

Please sign in to comment.