CrewShipWeaponSkins occupy a slot
All checks were successful
Build / build (pull_request) Successful in 44s
Build / build (push) Successful in 1m27s

This commit is contained in:
Sainan 2025-04-16 01:14:23 +02:00
parent 4074e9f0a7
commit 81cb20c056

View File

@ -425,7 +425,10 @@ export const addItem = async (
`unexpected acquisition quantity of CrewShipWeaponSkin: got ${quantity}, expected 1` `unexpected acquisition quantity of CrewShipWeaponSkin: got ${quantity}, expected 1`
); );
} }
inventoryChanges = addCrewShipWeaponSkin(inventory, typeName); inventoryChanges = {
...addCrewShipWeaponSkin(inventory, typeName),
...occupySlot(inventory, InventorySlot.RJ_COMPONENT_AND_ARMAMENTS, premiumPurchase)
};
} }
} else { } else {
if (quantity != 1) { if (quantity != 1) {