返回提交历史
Modified
src/services/inventoryService.ts
+1
-1
XFEstudio/SpaceNinjaServer
fix: properly commit boosters to inventory (#1279)
Reviewed-on: https://onlyg.it/OpenWF/SpaceNinjaServer/pulls/1279
4b3b551b
代码差异
1 个文件
+1
-1
@@ -1286,7 +1286,7 @@ export const addMissionComplete = (inventory: TInventoryDatabaseDocument, { Tag,
1286
1286
};
1287
1287
1288
1288
export const addBooster = (ItemType: string, time: number, inventory: TInventoryDatabaseDocument): void => {
1289
const currentTime = Math.floor(Date.now() / 1000) - 129600; // Value is wrong without 129600. Figure out why, please. :)
1289
const currentTime = Math.floor(Date.now() / 1000);
1290
1290
1291
1291
const { Boosters } = inventory;
1292
1292