diff Main.lua @ 390:b00732fa9352

Fixed obvious typo in previous version.
author MMOSimca <MMOSimca@gmail.com>
date Tue, 16 Dec 2014 22:10:13 -0500
parents 1c6098b69ec9
children 7d0ad2573092
line wrap: on
line diff
--- a/Main.lua	Tue Dec 16 21:07:59 2014 -0500
+++ b/Main.lua	Tue Dec 16 22:10:13 2014 -0500
@@ -890,7 +890,7 @@
         chat_loot_timer_handle = nil
     end
 
-    if current_loot and current_loot.identifier and (CONTAINER_ITEM_ID_LIST[current_loot.identifier] ~= nil) then
+    if current_loot and current_loot.identifier and (private.CONTAINER_ITEM_ID_LIST[current_loot.identifier] ~= nil) then
         GenericLootUpdate("items")
     end
     current_loot = nil
@@ -1458,7 +1458,7 @@
             local currency_token = ("currency:%s"):format(currency_texture)
             local container_id = current_loot.identifier -- For faster access, since this is going to be called 9 times in the next 3 lines
             -- Verify that we're still assigning data to the right items
-            if container_id and (CONTAINER_ITEM_ID_LIST[container_id] ~= nil) then
+            if container_id and (private.CONTAINER_ITEM_ID_LIST[container_id] ~= nil) then
                 Debug("CHAT_MSG_CURRENCY: AF.ITEM %s (%d)", currency_token, quantity)
                 current_loot.sources[container_id] = current_loot.sources[container_id] or {}
                 current_loot.sources[container_id][currency_token] = (current_loot.sources[container_id][currency_token] or 0) + quantity
@@ -1516,7 +1516,7 @@
         [AF.ITEM] = function(item_id, quantity)
             local container_id = current_loot.identifier -- For faster access, since this is going to be called 9 times in the next 3 lines
             -- Verify that we're still assigning data to the right items
-            if container_id and (CONTAINER_ITEM_ID_LIST[container_id] ~= nil) then
+            if container_id and (private.CONTAINER_ITEM_ID_LIST[container_id] ~= nil) then
                 Debug("CHAT_MSG_LOOT: AF.ITEM %d (%d)", item_id, quantity)
                 current_loot.sources[container_id] = current_loot.sources[container_id] or {}
                 current_loot.sources[container_id][item_id] = (current_loot.sources[container_id][item_id] or 0) + quantity