From 3765dc507fea770b6d954f0ca73801233e0e9635 Mon Sep 17 00:00:00 2001 From: robertthepie Date: Sat, 9 Nov 2024 12:54:33 +0000 Subject: [PATCH] Modoptions Reset --- LuaMenu/widgets/gui_modoptions_panel.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 {