Skip to content

Commit

Permalink
Merge pull request #799 from robertthepie/Fix-Modoptions-reset
Browse files Browse the repository at this point in the history
Fix Modoptions Reset Button not working in Multiplayer
  • Loading branch information
AntlerForce authored Nov 9, 2024
2 parents c187f73 + 3765dc5 commit e9d8a32
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion LuaMenu/widgets/gui_modoptions_panel.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit e9d8a32

Please sign in to comment.