diff --git a/project/assets/configs/location.json b/project/assets/configs/location.json index 374ada0b..bfbd54a3 100644 --- a/project/assets/configs/location.json +++ b/project/assets/configs/location.json @@ -1,5 +1,4 @@ { - "forcedRaidEndState": null, "looseLootMultiplier": { "bigmap": 2.5, "develop": 1, diff --git a/project/src/models/spt/config/ILocationConfig.ts b/project/src/models/spt/config/ILocationConfig.ts index dc399ec3..cc7b44e8 100644 --- a/project/src/models/spt/config/ILocationConfig.ts +++ b/project/src/models/spt/config/ILocationConfig.ts @@ -1,11 +1,8 @@ import { MinMax } from "@spt/models/common/MinMax"; import { IBossLocationSpawn, IWave } from "@spt/models/eft/common/ILocationBase"; -import { ExitStatus } from "@spt/models/enums/ExitStatis"; import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; export interface ILocationConfig extends IBaseConfig { - /** What state to force the raid to end as, e.g "Survived"/"Killed"/"Runner" */ - forcedRaidEndState: ExitStatus; kind: "spt-location"; /** Rogues are classified as bosses and spawn immediatly, this can result in no scavs spawning, delay rogues spawning to allow scavs to spawn first */ rogueLighthouseSpawnTimeSettings: IRogueLighthouseSpawnTimeSettings; diff --git a/project/src/services/LocationLifecycleService.ts b/project/src/services/LocationLifecycleService.ts index f68f89d4..38a04805 100644 --- a/project/src/services/LocationLifecycleService.ts +++ b/project/src/services/LocationLifecycleService.ts @@ -336,10 +336,6 @@ export class LocationLifecycleService { // Clear bot loot cache this.botLootCacheService.clearCache(); - if (this.locationConfig.forcedRaidEndState !== null) { - request.results.result = this.locationConfig.forcedRaidEndState; - } - const fullProfile = this.profileHelper.getFullProfile(sessionId); const pmcProfile = fullProfile.characters.pmc; const scavProfile = fullProfile.characters.scav;