Mercurial > wow > itemauditor
diff Modules/Events.lua @ 53:c6c98fc1be8e release 2010-07-21
Fixed a bug where if you attached money and items to a piece of mail it would count all of the money as postage.
author | Asa Ayers <Asa.Ayers@Gmail.com> |
---|---|
date | Wed, 21 Jul 2010 22:38:55 -0700 |
parents | 9c95158236d1 |
children | e7d287cc3b02 |
line wrap: on
line diff
--- a/Modules/Events.lua Wed Jul 21 20:36:56 2010 -0700 +++ b/Modules/Events.lua Wed Jul 21 22:38:55 2010 -0700 @@ -88,9 +88,8 @@ attachedItems[newLink].price = 0 -- This is a placeholder for below. end end - local pricePerStack = GetSendMailPrice() / totalStacks for link, data in pairs(attachedItems) do - data.price = pricePerStack * data.stacks + data.price = 30 * data.stacks end if self.mailOutbox.COD > 0 and skipCODTracking then