From 061e858af36fd5b938e4bd70ae9524f1f3d2a8ec Mon Sep 17 00:00:00 2001 From: Sainan <63328889+Sainan@users.noreply.github.com> Date: Fri, 9 May 2025 08:32:57 +0200 Subject: [PATCH] U19.5 is the last known version that uses $id (from Steam manifests) --- src/controllers/api/inventoryController.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/controllers/api/inventoryController.ts b/src/controllers/api/inventoryController.ts index bafc0a75..6efc68fb 100644 --- a/src/controllers/api/inventoryController.ts +++ b/src/controllers/api/inventoryController.ts @@ -318,8 +318,8 @@ export const getInventoryResponse = async ( const personalRooms = personalRoomsDb.toJSON(); inventoryResponse.Ship = personalRooms.Ship; - if (version_compare(buildLabel, "2017.03.03.17.01") < 0) { - // U19.4 and below use $id instead of $oid + if (version_compare(buildLabel, "2016.12.21.19.13") <= 0) { + // U19.5 and below use $id instead of $oid for (const category of equipmentKeys) { for (const item of inventoryResponse[category]) { toLegacyOid(item.ItemId);