From 664603cc149117311f4ce64372abf9224f0abad4 Mon Sep 17 00:00:00 2001 From: CiscOH Date: Mon, 7 Aug 2023 14:06:26 +0000 Subject: [PATCH] added newline to dump spells output --- 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