main: clean up previous providers

This commit is contained in:
shagu
2025-03-22 13:12:56 +01:00
parent b4e08a6ba1
commit 8672d6d6f7
+1
View File
@@ -35,6 +35,7 @@ ShaguTweaks:RegisterEvent("VARIABLES_LOADED")
ShaguTweaks:SetScript("OnEvent", function()
-- flag all external modules as unofficial
if event == "ADDON_LOADED" then
ShaguTweaks.provider = nil
official = false
return
end