config: create initial config in global space

This commit is contained in:
shagu
2024-05-19 21:29:29 +02:00
parent 2be1cacdfc
commit 82759a9f81
+1 -1
View File
@@ -4,7 +4,7 @@ setfenv(1, pfUI:GetEnvironment())
function pfUI:UpdateConfig(group, subgroup, entry, value)
-- create empty config if not existing
if not pfUI_config then
pfUI_config = {}
_G.pfUI_config = {}
end
-- check for missing config groups