fix: consume a slot when item is crafted instead of bought via plat #1029

Merged
Sainan merged 4 commits from consume-slots into main 2025-02-26 15:41:08 -08:00
Showing only changes of commit b1f6ffec8e - Show all commits

View File

@ -172,6 +172,7 @@ const occupySlot = (
if (premiumPurchase) {
slotChanges.Extra += 1;
} else {
// { count: 1, platinum: 0, Slots: -1 }
slotChanges.Slots -= 1;
}
updateSlots(inventory, bin, slotChanges.Slots, slotChanges.Extra);