Code format

This commit is contained in:
2025-05-01 17:06:20 +02:00
parent c365178b99
commit 3d8fa46711
7 changed files with 642 additions and 490 deletions

View File

@@ -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"