From c01c00627f814723863b83b06ec96e7aaf5368e4 Mon Sep 17 00:00:00 2001 From: Sainan Date: Sat, 22 Mar 2025 14:50:08 +0100 Subject: [PATCH] fix: properly commit boosters to inventory I have no clue why 36h were being subtracted here, but it was clearly wrong --- 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 0b435240..e6bc21be 100644 --- a/src/services/inventoryService.ts +++ b/src/services/inventoryService.ts @@ -1286,7 +1286,7 @@ export const addMissionComplete = (inventory: TInventoryDatabaseDocument, { Tag, }; export const addBooster = (ItemType: string, time: number, inventory: TInventoryDatabaseDocument): void => { - const currentTime = Math.floor(Date.now() / 1000) - 129600; // Value is wrong without 129600. Figure out why, please. :) + const currentTime = Math.floor(Date.now() / 1000); const { Boosters } = inventory;