Mercurial > wow > itemauditor
diff Modules/Events.lua @ 140:828cd9bf919e
Missed another link that should have been itemID
author | Asa Ayers <Asa.Ayers@Gmail.com> |
---|---|
date | Sat, 02 Oct 2010 21:23:18 -0700 |
parents | 526036e4358f |
children | 03e108d12ef1 |
line wrap: on
line diff
--- a/Modules/Events.lua Sat Oct 02 21:15:16 2010 -0700 +++ b/Modules/Events.lua Sat Oct 02 21:23:18 2010 -0700 @@ -314,7 +314,7 @@ self:Debug("purchase or sale") for itemID, count in pairs(diff.items) do - self:SaveValue(link, 0 - diff.money, itemID) + self:SaveValue(itemID, 0 - diff.money, itemID) end elseif self:tcount(diff.items) > 1 and self:tcount(positive) > 0 and self:tcount(negative) > 0 then -- we must have created/converted something