From 292ac9d41bd4570d05edf5d1fb42011226d06948 Mon Sep 17 00:00:00 2001 From: Sainan Date: Thu, 13 Mar 2025 04:26:06 -0700 Subject: [PATCH] fix: deduct 5000 credits for crafting a zaw (#1168) Reviewed-on: https://onlyg.it/OpenWF/SpaceNinjaServer/pulls/1168 --- src/controllers/api/modularWeaponCraftingController.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/controllers/api/modularWeaponCraftingController.ts b/src/controllers/api/modularWeaponCraftingController.ts index 4be0d980b..1f041f12f 100644 --- a/src/controllers/api/modularWeaponCraftingController.ts +++ b/src/controllers/api/modularWeaponCraftingController.ts @@ -59,7 +59,9 @@ export const modularWeaponCraftingController: RequestHandler = async (req, res) } const currencyChanges = updateCurrency( inventory, - category == "Hoverboards" || category == "MoaPets" ? 5000 : 4000, + category == "Hoverboards" || category == "MoaPets" || category == "LongGuns" || category == "Pistols" + ? 5000 + : 4000, // Definitely correct for Melee & OperatorAmps false ); addMiscItems(inventory, miscItemChanges);