From 0af7f4120163a773c1ad5435ca7e1799a1396f45 Mon Sep 17 00:00:00 2001 From: Sainan <63328889+Sainan@users.noreply.github.com> Date: Tue, 29 Apr 2025 12:27:47 -0700 Subject: [PATCH] fix: unset LibraryPersonalTarget after completing it (#1913) Reviewed-on: https://onlyg.it/OpenWF/SpaceNinjaServer/pulls/1913 Co-authored-by: Sainan <63328889+Sainan@users.noreply.github.com> Co-committed-by: Sainan <63328889+Sainan@users.noreply.github.com> --- src/services/missionInventoryUpdateService.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/services/missionInventoryUpdateService.ts b/src/services/missionInventoryUpdateService.ts index 35486d21..66328a0d 100644 --- a/src/services/missionInventoryUpdateService.ts +++ b/src/services/missionInventoryUpdateService.ts @@ -380,6 +380,7 @@ export const addMissionInventoryUpdates = async ( : 10) ) { progress.Completed = true; + inventory.LibraryPersonalTarget = undefined; } logger.debug(`synthesis of ${scan.EnemyType} added to personal target progress`); synthesisIgnored = false;