mirror of
https://github.com/yairm210/Unciv.git
synced 2025-09-27 13:55:54 -04:00
Fix the fix
This commit is contained in:
parent
50ec861edd
commit
e0a65fb95a
@ -42,9 +42,7 @@ fun multiplayerTab(
|
||||
optionsPopup.addCheckbox(
|
||||
tab, "Enable multiplayer status button in singleplayer games",
|
||||
settings.multiplayer::statusButtonInSinglePlayer, updateWorld = true
|
||||
) {
|
||||
settings.multiplayer.statusButtonInSinglePlayer = it
|
||||
}
|
||||
)
|
||||
|
||||
addSeparator(tab)
|
||||
|
||||
|
@ -166,7 +166,10 @@ class OptionsPopup(
|
||||
settingsProperty: KMutableProperty0<Boolean>,
|
||||
updateWorld: Boolean = false,
|
||||
action: (Boolean) -> Unit = {}) {
|
||||
addCheckbox(table, text, settingsProperty.get(), updateWorld, action)
|
||||
addCheckbox(table, text, settingsProperty.get(), updateWorld) {
|
||||
action(it)
|
||||
settingsProperty.set(it)
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user