diff --git a/project/assets/configs/inraid.json b/project/assets/configs/inraid.json index 6feb35b4..06f0474f 100644 --- a/project/assets/configs/inraid.json +++ b/project/assets/configs/inraid.json @@ -1,5 +1,4 @@ { - "MIAOnRaidEnd": true, "raidMenuSettings": { "aiAmount": "AsOnline", "aiDifficulty": "AsOnline", diff --git a/project/src/callbacks/InraidCallbacks.ts b/project/src/callbacks/InraidCallbacks.ts index 881a251f..1ff6e079 100644 --- a/project/src/callbacks/InraidCallbacks.ts +++ b/project/src/callbacks/InraidCallbacks.ts @@ -41,15 +41,6 @@ export class InraidCallbacks { return this.httpResponse.nullResponse(); } - /** - * TODO - remove - * Handle singleplayer/settings/raid/endstate - * @returns - */ - public getRaidEndState(): string { - return this.httpResponse.noBody(this.inraidController.getInraidConfig().MIAOnRaidEnd); - } - /** * Handle singleplayer/settings/raid/menu * @returns JSON as string diff --git a/project/src/models/spt/config/IInRaidConfig.ts b/project/src/models/spt/config/IInRaidConfig.ts index 33170d48..ce36f0c9 100644 --- a/project/src/models/spt/config/IInRaidConfig.ts +++ b/project/src/models/spt/config/IInRaidConfig.ts @@ -2,7 +2,6 @@ import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; export interface IInRaidConfig extends IBaseConfig { kind: "spt-inraid"; - MIAOnRaidEnd: boolean; /** Overrides to apply to the pre-raid settings screen */ raidMenuSettings: RaidMenuSettings; /** What effects should be saved post-raid */ diff --git a/project/src/routers/static/InraidStaticRouter.ts b/project/src/routers/static/InraidStaticRouter.ts index 58bae352..9afd9949 100644 --- a/project/src/routers/static/InraidStaticRouter.ts +++ b/project/src/routers/static/InraidStaticRouter.ts @@ -13,18 +13,6 @@ export class InraidStaticRouter extends StaticRouter { return this.inraidCallbacks.saveProgress(url, info, sessionID); }, ), - new RouteAction( - "/singleplayer/settings/raid/endstate", - async (url: string, info: any, sessionID: string, output: string): Promise => { - return this.inraidCallbacks.getRaidEndState(); - }, - ), - new RouteAction( - "/singleplayer/settings/raid/menu", - async (url: string, info: any, sessionID: string, output: string): Promise => { - return this.inraidCallbacks.getRaidMenuSettings(); - }, - ), new RouteAction( "/singleplayer/scav/traitorscavhostile", async (url: string, info: any, sessionID: string, output: string): Promise => {