actually, this is needed for a few more versions...
This commit is contained in:
parent
1c078d3a7a
commit
3ba99734e7
@ -315,8 +315,7 @@ export const getInventoryResponse = async (
|
|||||||
inventoryResponse.Nemesis = undefined;
|
inventoryResponse.Nemesis = undefined;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (buildLabel && version_compare(buildLabel, "2014.10.29.18.19") < 0) {
|
if (buildLabel && version_compare(buildLabel, "2018.02.22.14.34") < 0) {
|
||||||
// U14
|
|
||||||
const personalRoomsDb = await getPersonalRooms(inventory.accountOwnerId.toString());
|
const personalRoomsDb = await getPersonalRooms(inventory.accountOwnerId.toString());
|
||||||
const personalRooms = personalRoomsDb.toJSON<IPersonalRoomsClient>();
|
const personalRooms = personalRoomsDb.toJSON<IPersonalRoomsClient>();
|
||||||
inventoryResponse.Ship = personalRooms.Ship;
|
inventoryResponse.Ship = personalRooms.Ship;
|
||||||
|
@ -374,7 +374,7 @@ export interface IInventoryClient extends IDailyAffiliations, InventoryClientEqu
|
|||||||
BrandedSuits?: IOid[];
|
BrandedSuits?: IOid[];
|
||||||
LockedWeaponGroup?: ILockedWeaponGroupClient;
|
LockedWeaponGroup?: ILockedWeaponGroupClient;
|
||||||
HubNpcCustomizations?: IHubNpcCustomization[];
|
HubNpcCustomizations?: IHubNpcCustomization[];
|
||||||
Ship?: IOrbiter; // U14 (response only)
|
Ship?: IOrbiter; // U22 and below, response only
|
||||||
}
|
}
|
||||||
|
|
||||||
export interface IAffiliation {
|
export interface IAffiliation {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user