U19.5 is the last known version that uses $id (from Steam manifests)
All checks were successful
Build / build (push) Successful in 1m2s
Build / build (pull_request) Successful in 1m39s

This commit is contained in:
Sainan 2025-05-09 08:32:57 +02:00
parent ccc9d5c9dc
commit 061e858af3

View File

@ -318,8 +318,8 @@ export const getInventoryResponse = async (
const personalRooms = personalRoomsDb.toJSON<IPersonalRoomsClient>();
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);