fix: consume a slot when item is crafted instead of bought via plat #1029
@ -172,6 +172,7 @@ const occupySlot = (
|
|||||||
if (premiumPurchase) {
|
if (premiumPurchase) {
|
||||||
slotChanges.Extra += 1;
|
slotChanges.Extra += 1;
|
||||||
} else {
|
} else {
|
||||||
|
// { count: 1, platinum: 0, Slots: -1 }
|
||||||
slotChanges.Slots -= 1;
|
slotChanges.Slots -= 1;
|
||||||
}
|
}
|
||||||
updateSlots(inventory, bin, slotChanges.Slots, slotChanges.Extra);
|
updateSlots(inventory, bin, slotChanges.Slots, slotChanges.Extra);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user