feat: cure vasca virus #1949

Merged
Sainan merged 1 commits from cure into main 2025-05-01 13:54:51 -07:00

View File

@ -1506,7 +1506,9 @@ export const applyClientEquipmentUpdates = (
} }
if (InfestationDate) { if (InfestationDate) {
item.InfestationDate = fromMongoDate(InfestationDate); // 2147483647000 means cured, otherwise became infected
item.InfestationDate =
InfestationDate.$date.$numberLong == "2147483647000" ? new Date(0) : fromMongoDate(InfestationDate);
} }
}); });
}; };