From cdb9d876a7dcb7f8fe418f623646fdea560238d7 Mon Sep 17 00:00:00 2001 From: shagu Date: Sat, 24 Mar 2018 16:45:37 +0100 Subject: [PATCH] gui: don't reset global vars on GVAR save --- modules/gui.lua | 1 + 1 file changed, 1 insertion(+) diff --git a/modules/gui.lua b/modules/gui.lua index 34f72ad5..d513f762 100644 --- a/modules/gui.lua +++ b/modules/gui.lua @@ -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