fix: deduct 5000 credits for crafting a zaw
All checks were successful
Build / build (22) (push) Successful in 41s
Build / build (20) (push) Successful in 1m3s
Build / build (18) (push) Successful in 57s
Build / build (18) (pull_request) Successful in 44s
Build / build (20) (pull_request) Successful in 1m4s
Build / build (22) (pull_request) Successful in 54s

This commit is contained in:
Sainan 2025-03-13 10:32:03 +01:00
parent 6490fadcae
commit 0d455fa1b2

View File

@ -59,7 +59,9 @@ export const modularWeaponCraftingController: RequestHandler = async (req, res)
} }
const currencyChanges = updateCurrency( const currencyChanges = updateCurrency(
inventory, inventory,
category == "Hoverboards" || category == "MoaPets" ? 5000 : 4000, category == "Hoverboards" || category == "MoaPets" || category == "LongGuns" || category == "Pistols"
? 5000
: 4000, // Definitely correct for Melee & OperatorAmps
false false
); );
addMiscItems(inventory, miscItemChanges); addMiscItems(inventory, miscItemChanges);