changeset 429:95af8e72aa19 6.0.3-9

Corrected a function call to an out-of-scope function and fixed a typo preventing spell comments.
author MMOSimca <MMOSimca@gmail.com>
date Thu, 05 Feb 2015 08:14:28 -0500
parents a853f618ac30
children dbdd83d7982d
files Comments.lua Main.lua
diffstat 2 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- 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)
--- 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 {}