changeset 139:7e1496b25311

Fixed invalid variable from when link was changed to itemID
author Asa Ayers <Asa.Ayers@Gmail.com>
date Sat, 02 Oct 2010 21:15:16 -0700
parents 7d258c041b11
children 828cd9bf919e
files Core.lua
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/Core.lua	Sat Oct 02 20:34:07 2010 -0700
+++ b/Core.lua	Sat Oct 02 21:15:16 2010 -0700
@@ -247,7 +247,7 @@
 	for itemID, count in pairs(pastInventory.items) do
 		if current.items[itemID] == nil then
 			diff[itemID] = -count
-			self:Debug("3 diff[" .. liitemIDnk .. "]=" .. diff[itemID])
+			self:Debug("3 diff[" .. itemID .. "]=" .. diff[itemID])
 		elseif current.items[itemID] - count ~= 0 then
 			diff[itemID] = current.items[itemID] - pastInventory.items[itemID]
 			self:Debug("4 diff[" .. itemID .. "]=" .. diff[itemID])