Code format
This commit is contained in:
@@ -13,7 +13,9 @@ function shared.SpellQSettings.Init()
|
||||
end
|
||||
|
||||
local function SetSpellQueue(window)
|
||||
if not window then return end
|
||||
if not window then
|
||||
return
|
||||
end
|
||||
print("Spell queue window set to " .. tostring(window))
|
||||
SetCVar("SpellQueueWindow", window)
|
||||
end
|
||||
@@ -26,7 +28,9 @@ function shared.SpellQSettings.Init()
|
||||
end)
|
||||
|
||||
SlashCmdList["SPELLQSETTINGS"] = function(window)
|
||||
if window then shared.config.spellQueue.queue = window end
|
||||
if window then
|
||||
shared.config.spellQueue.queue = window
|
||||
end
|
||||
SetSpellQueue(shared.config.spellQueue.queue)
|
||||
end
|
||||
SLASH_SPELLQSETTINGS1 = "/sq"
|
||||
|
Reference in New Issue
Block a user