0
0
mirror of https://github.com/sp-tarkov/server.git synced 2025-02-13 02:10:44 -05:00

Revert "Added locationConfig.forcedRaidEndState property"

This reverts commit d578e5f001cac460d2eac10ec81465b54ac334fd.
This commit is contained in:
Chomp 2025-01-08 19:38:58 +00:00
parent d578e5f001
commit 97e4fa98ff
3 changed files with 0 additions and 8 deletions

View File

@ -1,5 +1,4 @@
{
"forcedRaidEndState": null,
"looseLootMultiplier": {
"bigmap": 2.5,
"develop": 1,

View File

@ -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;

View File

@ -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;