Load channel settings after 1s instead of instantly

This commit is contained in:
2024-12-10 10:14:44 +01:00
parent 717403ecac
commit 1033f349f6

View File

@@ -118,5 +118,14 @@ local frame = CreateFrame("Frame")
frame:RegisterEvent("PLAYER_LOGIN")
frame:RegisterEvent("PLAYER_ENTERING_WORLD")
frame:SetScript("OnEvent", function(self, event, ...)
Configure()
C_Timer.After(1, function()
Configure()
end)
end)
--Configure()
SlashCmdList["CHANNELER"] = function(msg)
Configure()
end
SLASH_CHANNELER1 = "/fix"
SLASH_CHANNELER2 = "/f"