Use correct buycount when buying from fence
This commit is contained in:
parent
ca1df5ee71
commit
9daa706325
@ -129,7 +129,7 @@ export class TradeHelper
|
||||
const itemPurchased = traderAssorts.find((x) => x._id === buyRequestData.item_id);
|
||||
|
||||
// Decrement trader item count
|
||||
itemPurchased.upd.StackObjectsCount -= buyRequestData.count;
|
||||
itemPurchased.upd.StackObjectsCount -= buyCount;
|
||||
|
||||
/// Pay for item
|
||||
output = this.paymentService.payMoney(pmcData, buyRequestData, sessionID, output);
|
||||
|
Loading…
Reference in New Issue
Block a user