Load channel settings after 1s instead of instantly
This commit is contained in:
@@ -118,5 +118,14 @@ local frame = CreateFrame("Frame")
|
||||
frame:RegisterEvent("PLAYER_LOGIN")
|
||||
frame:RegisterEvent("PLAYER_ENTERING_WORLD")
|
||||
frame:SetScript("OnEvent", function(self, event, ...)
|
||||
C_Timer.After(1, function()
|
||||
Configure()
|
||||
end)
|
||||
end)
|
||||
--Configure()
|
||||
|
||||
SlashCmdList["CHANNELER"] = function(msg)
|
||||
Configure()
|
||||
end
|
||||
SLASH_CHANNELER1 = "/fix"
|
||||
SLASH_CHANNELER2 = "/f"
|
||||
|
Reference in New Issue
Block a user