fix: occupy correct slot for arch-guns
All checks were successful
Build / build (push) Successful in 45s
Build / build (pull_request) Successful in 1m21s

This commit is contained in:
Sainan 2025-04-23 00:16:36 +02:00
parent daacbf6f7b
commit 7f4e5870b6

View File

@ -532,7 +532,11 @@ export const addItem = async (
} }
return { return {
...inventoryChanges, ...inventoryChanges,
...occupySlot(inventory, InventorySlot.WEAPONS, premiumPurchase) ...occupySlot(
inventory,
productCategoryToInventoryBin(weapon.productCategory) ?? InventorySlot.WEAPONS,
premiumPurchase
)
}; };
} else { } else {
// Modular weapon parts // Modular weapon parts