From b65f06aa2511e5c8f6370e7d198ec2a440759729 Mon Sep 17 00:00:00 2001 From: Sir-Skurpsalot <87043120+Sir-Skurpsalot@users.noreply.github.com> Date: Fri, 12 Dec 2025 21:12:29 -0700 Subject: [PATCH] Update optionsMenu.tscript removed -skurps from last commit --- Templates/BaseGame/game/data/UI/guis/optionsMenu.tscript | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Templates/BaseGame/game/data/UI/guis/optionsMenu.tscript b/Templates/BaseGame/game/data/UI/guis/optionsMenu.tscript index 739bf9194..3d6be85a6 100644 --- a/Templates/BaseGame/game/data/UI/guis/optionsMenu.tscript +++ b/Templates/BaseGame/game/data/UI/guis/optionsMenu.tscript @@ -520,7 +520,7 @@ function OptionsMenu::applyChangedOptions(%this) { VideoSettingsList.applyChanges(); AudioSettingsList.applyChanges(); - KBMControlsList.applyChanges(); //Saves settings and binds from GamepadControlsList as well -Skurps + KBMControlsList.applyChanges(); //Saves settings and binds from GamepadControlsList as well //Process the audio channel tempvars to get their values //and then apply them to the actual pref variable, as well as the SFXChannelVolume @@ -918,7 +918,7 @@ function OptionsMenu::populateAudioSettings(%this) // Keyboard & Mouse, Controller List Functions // //============================================================================== -function KBMControlsList::applyChanges(%this){ //Skurps +function KBMControlsList::applyChanges(%this){ //Save mouse sensitivity $pref::Input::LinkMouseSensitivity = $pref::Input::LinkMouseSensitivity_tempVar; @@ -961,7 +961,7 @@ function KBMControlsList::applyChanges(%this){ //Skurps $RemapDirty = false; } -// restoreRemap() is called from user custom keybinds file which is generated by KBMControlsList::applyChanges() -Skurps +// restoreRemap() is called from user custom keybinds file which is generated by KBMControlsList::applyChanges() function restoreRemap(%device, %actionMap, %action, %cmd){ // Make sure no other "action" (key / button press) is bound to this command on this actionMap (from remapDlg.tscript) unbindExtraActions( %cmd, %actionMap, %device, 0 ); @@ -989,7 +989,7 @@ function OptionsMenu::populateKeybinds(%this,%device, %controlsList) { %controlsList.clear(); if (%device $= "keyboard") { - %controlsList.add(addOptionGroup("Mouse Options")); //Skurps + %controlsList.add(addOptionGroup("Mouse Options")); %controlsList.add(addOptionSlider("Mouse Sensitivity", "", "$pref::Input::LinkMouseSensitivity", 0, 1, 10)); }