U19.12 also uses $oid
All checks were successful
Build / build (push) Successful in 1m43s
Build / build (pull_request) Successful in 1m2s

This commit is contained in:
Sainan 2025-05-09 07:47:14 +02:00
parent e305399ba6
commit ccc9d5c9dc

View File

@ -318,7 +318,7 @@ export const getInventoryResponse = async (
const personalRooms = personalRoomsDb.toJSON<IPersonalRoomsClient>();
inventoryResponse.Ship = personalRooms.Ship;
if (version_compare(buildLabel, "2017.03.06.15.49") < 0) {
if (version_compare(buildLabel, "2017.03.03.17.01") < 0) {
// U19.4 and below use $id instead of $oid
for (const category of equipmentKeys) {
for (const item of inventoryResponse[category]) {