diff --git a/LuaMenu/widgets/gui_modoptions_panel.lua b/LuaMenu/widgets/gui_modoptions_panel.lua index e22eacafc..81d8139f7 100644 --- a/LuaMenu/widgets/gui_modoptions_panel.lua +++ b/LuaMenu/widgets/gui_modoptions_panel.lua @@ -536,7 +536,7 @@ local function InitializeModoptionsDisplay() local function OnSetModOptions(listener, modopts) local text = "" local empty = true - modopts = modopts or {} + modoptions = modoptions or {} for key, value in pairs(modopts) do if modoptionDefaults[key] == nil or modoptionDefaults[key] ~= value or key == "ranked_game" then local option = getModOptionByKey(key)