# HG changeset patch # User MMOSimca # Date 1423142068 18000 # Node ID 95af8e72aa1915d0d66077b1645afe7a777be8ad # Parent a853f618ac309485e1f5863d69a30296b415af22 Corrected a function call to an out-of-scope function and fixed a typo preventing spell comments. diff -r a853f618ac30 -r 95af8e72aa19 Comments.lua --- a/Comments.lua Tue Jan 13 03:49:05 2015 -0500 +++ b/Comments.lua Thu Feb 05 08:14:28 2015 -0500 @@ -403,7 +403,7 @@ CreateQuestComment() return elseif arg == "spell" then - CreateSpellComent(true) + CreateSpellComment(true) return end CreateUnitComment(arg, true) diff -r a853f618ac30 -r 95af8e72aa19 Main.lua --- a/Main.lua Tue Jan 13 03:49:05 2015 -0500 +++ b/Main.lua Thu Feb 05 08:14:28 2015 -0500 @@ -659,9 +659,9 @@ end -- do-block -local GenericLootUpdate +local GenericLootUpdate, LootTable do - local function LootTable(entry, loot_type, top_field) + function LootTable(entry, loot_type, top_field) if top_field then entry[top_field] = entry[top_field] or {} entry[top_field][loot_type] = entry[top_field][loot_type] or {}