comparison Main.lua @ 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 181c7f8cd087
children 3f038cb19197
comparison
equal deleted inserted replaced
428:a853f618ac30 429:95af8e72aa19
657 end 657 end
658 end 658 end
659 end -- do-block 659 end -- do-block
660 660
661 661
662 local GenericLootUpdate 662 local GenericLootUpdate, LootTable
663 do 663 do
664 local function LootTable(entry, loot_type, top_field) 664 function LootTable(entry, loot_type, top_field)
665 if top_field then 665 if top_field then
666 entry[top_field] = entry[top_field] or {} 666 entry[top_field] = entry[top_field] or {}
667 entry[top_field][loot_type] = entry[top_field][loot_type] or {} 667 entry[top_field][loot_type] = entry[top_field][loot_type] or {}
668 return entry[top_field][loot_type] 668 return entry[top_field][loot_type]
669 end 669 end