actually, this is needed for a few more versions...
Some checks failed
Build / build (push) Has been cancelled
Build / build (pull_request) Successful in 1m47s

This commit is contained in:
Sainan 2025-05-06 15:15:37 +02:00
parent 1c078d3a7a
commit 3ba99734e7
2 changed files with 2 additions and 3 deletions

View File

@ -315,8 +315,7 @@ export const getInventoryResponse = async (
inventoryResponse.Nemesis = undefined;
}
if (buildLabel && version_compare(buildLabel, "2014.10.29.18.19") < 0) {
// U14
if (buildLabel && version_compare(buildLabel, "2018.02.22.14.34") < 0) {
const personalRoomsDb = await getPersonalRooms(inventory.accountOwnerId.toString());
const personalRooms = personalRoomsDb.toJSON<IPersonalRoomsClient>();
inventoryResponse.Ship = personalRooms.Ship;

View File

@ -374,7 +374,7 @@ export interface IInventoryClient extends IDailyAffiliations, InventoryClientEqu
BrandedSuits?: IOid[];
LockedWeaponGroup?: ILockedWeaponGroupClient;
HubNpcCustomizations?: IHubNpcCustomization[];
Ship?: IOrbiter; // U14 (response only)
Ship?: IOrbiter; // U22 and below, response only
}
export interface IAffiliation {