Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enabled Espionage #11658

Merged
merged 1 commit into from
May 29, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading