fix: occupy correct slot for arch-guns (#1801)
Reviewed-on: #1801 Co-authored-by: Sainan <63328889+Sainan@users.noreply.github.com> Co-committed-by: Sainan <63328889+Sainan@users.noreply.github.com>
This commit is contained in:
parent
948104a9a6
commit
ada6a4bad0
@ -532,7 +532,11 @@ export const addItem = async (
|
||||
}
|
||||
return {
|
||||
...inventoryChanges,
|
||||
...occupySlot(inventory, InventorySlot.WEAPONS, premiumPurchase)
|
||||
...occupySlot(
|
||||
inventory,
|
||||
productCategoryToInventoryBin(weapon.productCategory) ?? InventorySlot.WEAPONS,
|
||||
premiumPurchase
|
||||
)
|
||||
};
|
||||
} else {
|
||||
// Modular weapon parts
|
||||
|
Loading…
x
Reference in New Issue
Block a user