diff --git a/BasicConfig.lua b/BasicConfig.lua index fd20f89..d8e3215 100644 --- a/BasicConfig.lua +++ b/BasicConfig.lua @@ -2,9 +2,7 @@ --[[ Basic Config Module ]]-- local name, BCM = ... -BCM.modules[#BCM.modules+1] = function() - if bcmDB.noconfig then return end - +BCM.configModule = function() --[[------------------------------- -- Core widgets/functions/etc -------------------------------]]-- diff --git a/BasicCore.lua b/BasicCore.lua index a4c91d6..3bea747 100644 --- a/BasicCore.lua +++ b/BasicCore.lua @@ -183,6 +183,10 @@ BCM.Events.PLAYER_LOGIN = function(frame) end end) + if BCM.configModule then + BCM.configModule() + end + --[[ Self-Cleanup ]]-- BCM.modules = nil frame.PLAYER_LOGIN = nil