返回提交历史
Modified
src/services/inventoryService.ts
+3
-1
XFEstudio/SpaceNinjaServer
feat: cure vasca virus (#1949)
Closes #1946 Reviewed-on: https://onlyg.it/OpenWF/SpaceNinjaServer/pulls/1949 Co-authored-by: Sainan <63328889+Sainan@users.noreply.github.com> Co-committed-by: Sainan <63328889+Sainan@users.noreply.github.com>
a8227ce5
代码差异
1 个文件
+3
-1
@@ -1509,7 +1509,9 @@ export const applyClientEquipmentUpdates = (
1509
1509
}
1510
1510
1511
1511
if (InfestationDate) {
1512
item.InfestationDate = fromMongoDate(InfestationDate);
1512
// 2147483647000 means cured, otherwise became infected
1513
item.InfestationDate =
1514
InfestationDate.$date.$numberLong == "2147483647000" ? new Date(0) : fromMongoDate(InfestationDate);
1513
1515
}
1514
1516
});
1515
1517
};