diff Modules/DisplayInvested.lua @ 82:e9f7bc9199ca release 2010-08-05

Fixed Bug 23 - When you purchase multiple stacks of the same item and it is one you have not invested in yet, ItemAuditor mistakenly counted items you have not yet pulled from the mail as items you already owned. This resulted in those items being counted twice.
author Asa Ayers <Asa.Ayers@Gmail.com>
date Thu, 05 Aug 2010 22:20:44 -0700
parents b6c30a5156f9
children 7d258c041b11
line wrap: on
line diff
--- a/Modules/DisplayInvested.lua	Thu Aug 05 20:21:05 2010 -0700
+++ b/Modules/DisplayInvested.lua	Thu Aug 05 22:20:44 2010 -0700
@@ -197,7 +197,7 @@
 		
 		for link, count in pairs(inventory.items) do
 			if includedItems[link] == nil then
-				local count = Altoholic:GetItemCount(ItemAuditor:GetIDFromLink(link))
+				local count = ItemAuditor:GetItemCount(ItemAuditor:GetIDFromLink(link))
 				local itemName, link = GetItemInfo(link)
 				tableData[i] = {
 					itemName.."|"..link,