From ba9de7753ff041f1c96151c5a6d7742e7f45a403 Mon Sep 17 00:00:00 2001 From: CiscOH Date: Sun, 13 Aug 2023 14:08:30 +0000 Subject: [PATCH] added line break to dump spells --- src/_bastion.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/_bastion.lua b/src/_bastion.lua index d71d558..6399489 100644 --- a/src/_bastion.lua +++ b/src/_bastion.lua @@ -233,7 +233,7 @@ Command:Register('dumpspells', 'Dump spells to a file', function() if spellID then spellName = spellName:gsub("[%W%s]", "") WriteFile('bastion-' .. UnitClass('player') .. '-' .. rand .. '.lua', - "local " .. spellName .. " = Bastion.Globals.SpellBook:GetSpell(" .. spellID .. ")", true) + "local " .. spellName .. " = Bastion.Globals.SpellBook:GetSpell(" .. spellID .. ")\n", true) end i = i + 1 end