gui: don't reset global vars on GVAR save

This commit is contained in:
shagu
2018-03-24 16:45:37 +01:00
parent a51a6cb2c9
commit cdb9d876a7
+1
View File
@@ -66,6 +66,7 @@ pfUI:RegisterModule("gui", function ()
local update = ufunc
ufunc = function()
UIOptionsFrame_Load()
_G[config] = this:GetChecked() and 1 or nil
UIOptionsFrame_Save()
if update then