diff --git a/project/src/models/eft/match/IStartLocalRaidRequestData.ts b/project/src/models/eft/match/IStartLocalRaidRequestData.ts index b87813ff..f0c923c7 100644 --- a/project/src/models/eft/match/IStartLocalRaidRequestData.ts +++ b/project/src/models/eft/match/IStartLocalRaidRequestData.ts @@ -6,6 +6,8 @@ export interface IStartLocalRaidRequestData { playerSide: string; isLocationTransition: boolean; transition: IStartLocalRaidTransition; + /** Should loot generation be skipped, default false */ + sptSkipLootGeneration?: boolean; } export interface IStartLocalRaidTransition { diff --git a/project/src/services/LocationLifecycleService.ts b/project/src/services/LocationLifecycleService.ts index ce0ba38e..64fbe6c0 100644 --- a/project/src/services/LocationLifecycleService.ts +++ b/project/src/services/LocationLifecycleService.ts @@ -96,7 +96,7 @@ export class LocationLifecycleService { serverId: `${request.location}.${request.playerSide}.${this.timeUtil.getTimestamp()}`, // TODO - does this need to be more verbose - investigate client? serverSettings: this.databaseService.getLocationServices(), // TODO - is this per map or global? profile: { insuredItems: playerProfile.InsuredItems }, - locationLoot: this.generateLocationAndLoot(request.location), + locationLoot: request.sptSkipLootGeneration ? null : this.generateLocationAndLoot(request.location), transition: { isLocationTransition: false, transitionRaidId: "66f5750951530ca5ae09876d",