From efd616fed19c102ab76e5345a12090fedbb5f03e Mon Sep 17 00:00:00 2001 From: Sainan <63328889+Sainan@users.noreply.github.com> Date: Sat, 23 Aug 2025 21:55:42 +0200 Subject: [PATCH] fix: use netracell search pulse only when container item was picked up --- src/services/missionInventoryUpdateService.ts | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/services/missionInventoryUpdateService.ts b/src/services/missionInventoryUpdateService.ts index bccbed42..52aecae9 100644 --- a/src/services/missionInventoryUpdateService.ts +++ b/src/services/missionInventoryUpdateService.ts @@ -1223,12 +1223,6 @@ export const addMissionRewards = async ( } ]); } - - // Consume netracells search pulse. Moved here to only cover successful completions. Discussed in https://onlyg.it/OpenWF/SpaceNinjaServer/issues/2673 - if (missions.Tag == "SolNode720") { - updateEntratiVault(inventory); - inventory.EntratiVaultCountLastPeriod! += 1; - } } if (rewardInfo.useVaultManifest) { @@ -1395,6 +1389,12 @@ export const addMissionRewards = async ( logger.error(`unknown droptable ${si.DropTable} for DROP_MISC_ITEM`); } } + + if (si.DropTable == "/Lotus/Types/DropTables/ContainerDropTables/VoidVaultMissionRewardsDropTable") { + // Consume netracells search pulse; only when the container reward was picked up. Discussed in https://onlyg.it/OpenWF/SpaceNinjaServer/issues/2673 + updateEntratiVault(inventory); + inventory.EntratiVaultCountLastPeriod! += 1; + } } } -- 2.47.2