diff --git a/main.lua b/main.lua index 4ef5503..ac12eb5 100644 --- a/main.lua +++ b/main.lua @@ -41,6 +41,15 @@ ShaguTweaks:SetScript("OnEvent", function() return end + -- ShagaTweaks replaces ShaguTweaks: when the original is loaded as well, it + -- runs this session and is turned off from the next one. Its settings carry + -- over, as both addons save ShaguTweaks_config and ShaguTweaks_cache. + if IsAddOnLoaded("ShaguTweaks") then + DisableAddOn("ShaguTweaks") + DisableAddOn("ShaguTweaks-extras") + return + end + -- load current expansion local expansion = ShaguTweaks:GetExpansion()