fix: handle "skip prologue" to visit orbiter in U14 #1999

Merged
Sainan merged 3 commits from u14 into main 2025-05-06 07:37:30 -07:00
2 changed files with 2 additions and 3 deletions
Showing only changes of commit 3ba99734e7 - Show all commits

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 {