XFE Git
XFE Studio Git
Git 首页 全局搜索
XFE 主站 文档 NuGet

XFESpaceNinjaServer

A simple server for a small space ninja game

公开
关注 0 Fork 0 Star 0
返回提交历史

XFEstudio/XFESpaceNinjaServer

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
Sainan <63328889+Sainan@users.noreply.github.com>
提交于

代码差异

1 个文件 +3 -1
Modified src/services/inventoryService.ts +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 };