Fix settings
This commit is contained in:
@@ -22,14 +22,14 @@ function shared.SpellQSettings.Init()
|
||||
frame:RegisterEvent("PLAYER_LOGIN")
|
||||
frame:RegisterEvent("PLAYER_ENTERING_WORLD")
|
||||
frame:SetScript("OnEvent", function(self, event, ...)
|
||||
SetSpellQueue(CykaPersistentData.config.spellQueue.queue)
|
||||
SetSpellQueue(shared.config.spellQueue.queue)
|
||||
end)
|
||||
|
||||
SlashCmdList["SPELLQSETTINGS"] = function(window)
|
||||
if window then CykaPersistentData.config.spellQueue.queue = window end
|
||||
SetSpellQueue(CykaPersistentData.config.spellQueue.queue)
|
||||
if window then shared.config.spellQueue.queue = window end
|
||||
SetSpellQueue(shared.config.spellQueue.queue)
|
||||
end
|
||||
SLASH_SPELLQSETTINGS1 = "/sq"
|
||||
|
||||
print("Cyka - Autoloot loaded")
|
||||
print("Cyka - Spell queue settings loaded")
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user