comparison 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
comparison
equal deleted inserted replaced
81:64166ba5209a 82:e9f7bc9199ca
195 195
196 local inventory = ItemAuditor:GetCurrentInventory() 196 local inventory = ItemAuditor:GetCurrentInventory()
197 197
198 for link, count in pairs(inventory.items) do 198 for link, count in pairs(inventory.items) do
199 if includedItems[link] == nil then 199 if includedItems[link] == nil then
200 local count = Altoholic:GetItemCount(ItemAuditor:GetIDFromLink(link)) 200 local count = ItemAuditor:GetItemCount(ItemAuditor:GetIDFromLink(link))
201 local itemName, link = GetItemInfo(link) 201 local itemName, link = GetItemInfo(link)
202 tableData[i] = { 202 tableData[i] = {
203 itemName.."|"..link, 203 itemName.."|"..link,
204 0, 204 0,
205 0, 205 0,