diff --git a/LuaMenu/widgets/gui_modoptions_panel.lua b/LuaMenu/widgets/gui_modoptions_panel.lua index 783047899..3f718c937 100644 --- a/LuaMenu/widgets/gui_modoptions_panel.lua +++ b/LuaMenu/widgets/gui_modoptions_panel.lua @@ -706,10 +706,10 @@ local function CreateModoptionWindow() end local function ResetFunc() + localModoptions = {} for key, value in pairs(modoptionDefaults) do UpdateControlValue(key, value) end - localModoptions = {} end buttonReset = Button:New {