mirror of
https://gitlab.com/2009scape/09launcher.git
synced 2025-12-09 16:45:54 -07:00
Add support for editing the Left Click Attack setting.
This commit is contained in:
parent
b85c837c5f
commit
df43bef253
2 changed files with 12 additions and 2 deletions
|
|
@ -44,6 +44,7 @@ object Json {
|
|||
slayer["opacity"] = SettingsWindow.slayerOpacity.text
|
||||
customization["login_theme"] = SettingsWindow.loginTheme.text
|
||||
customization["december_snow"] = SettingsWindow.enableSnowDecember.isToggled
|
||||
rcm["left_click_attack"] = SettingsWindow.enableLeftClickAttack.isToggled
|
||||
launcher["closeOnClientLaunch"] = SettingsWindow.closeLauncherOnLaunch.isToggled
|
||||
launcher["notifyUpdates"] = Settings.CHECK_FOR_UPDATES
|
||||
|
||||
|
|
@ -101,6 +102,7 @@ object Json {
|
|||
SettingsWindow.slayerOpacity.text = slayer.getOrDefault("opacity","180").toString()
|
||||
SettingsWindow.loginTheme.text = customization.getOrDefault("login_theme","scape main").toString()
|
||||
SettingsWindow.enableSnowDecember.isToggled = customization.getOrDefault("december_snow", true) as Boolean
|
||||
SettingsWindow.enableLeftClickAttack.isToggled = rcm.getOrDefault("left_click_attack", false) as Boolean
|
||||
|
||||
SettingsWindow.closeLauncherOnLaunch.isToggled = launcher.getOrDefault("closeOnClientLaunch", true) as Boolean
|
||||
Settings.CHECK_FOR_UPDATES = launcher.getOrDefault("notifyUpdates", true) as Boolean
|
||||
|
|
@ -117,4 +119,4 @@ object Json {
|
|||
parse()
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue