diff Main.lua @ 176:48b43068e2e0

Renamed the LOOT_UPDATE/VERIFY_FUNCS tables to LOOT_OPENED_X for clarification.
author James D. Callahan III <jcallahan@curse.com>
date Thu, 01 Nov 2012 14:46:27 -0500
parents ac9f0ccb27a8
children 2fdc940c1748
line wrap: on
line diff
--- a/Main.lua	Thu Nov 01 14:41:36 2012 -0500
+++ b/Main.lua	Thu Nov 01 14:46:27 2012 -0500
@@ -1308,7 +1308,7 @@
     end
 
 
-    local LOOT_VERIFY_FUNCS = {
+    local LOOT_OPENED_VERIFY_FUNCS = {
         [AF.ITEM] = function()
             local locked_item_id
 
@@ -1353,7 +1353,7 @@
     }
 
 
-    local LOOT_UPDATE_FUNCS = {
+    local LOOT_OPENED_UPDATE_FUNCS = {
         [AF.ITEM] = function()
             GenericLootUpdate("items")
         end,
@@ -1458,8 +1458,8 @@
             Debug(("current_action.target_type: %s"):format(private.ACTION_TYPE_NAMES[current_action.target_type]))
         end
 
-        local verify_func = LOOT_VERIFY_FUNCS[current_action.target_type]
-        local update_func = LOOT_UPDATE_FUNCS[current_action.target_type]
+        local verify_func = LOOT_OPENED_VERIFY_FUNCS[current_action.target_type]
+        local update_func = LOOT_OPENED_UPDATE_FUNCS[current_action.target_type]
 
         if not verify_func or not update_func then
             return