From 850a07359423d8ce5454c31c13fb088b3fda7b9c Mon Sep 17 00:00:00 2001 From: Sainan <63328889+Sainan@users.noreply.github.com> Date: Wed, 16 Apr 2025 10:37:40 -0700 Subject: [PATCH] fix: don't set IsNew on CrewShipWeapons (#1682) this indicator doesn't fully work for them as it seems the client doesn't clear it, so I assume they're not supposed to have it Reviewed-on: https://onlyg.it/OpenWF/SpaceNinjaServer/pulls/1682 Co-authored-by: Sainan <63328889+Sainan@users.noreply.github.com> Co-committed-by: Sainan <63328889+Sainan@users.noreply.github.com> --- src/services/inventoryService.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/services/inventoryService.ts b/src/services/inventoryService.ts index d3e86bfd..391f40ae 100644 --- a/src/services/inventoryService.ts +++ b/src/services/inventoryService.ts @@ -1066,7 +1066,7 @@ export const addEquipment = ( Configs: [], XP: 0, ModularParts: modularParts, - IsNew: true + IsNew: category != "CrewShipWeapons" ? true : undefined }, defaultOverwrites );