From ce5b0fc9e29411549382a5effce9eab361a3caf6 Mon Sep 17 00:00:00 2001 From: Sainan <63328889+Sainan@users.noreply.github.com> Date: Wed, 23 Apr 2025 11:35:29 -0700 Subject: [PATCH] fix: limit MT_LANDSCAPE sortie missions to PoE (#1790) Closes #1789 Reviewed-on: https://onlyg.it/OpenWF/SpaceNinjaServer/pulls/1790 Co-authored-by: Sainan <63328889+Sainan@users.noreply.github.com> Co-committed-by: Sainan <63328889+Sainan@users.noreply.github.com> --- src/services/worldStateService.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/services/worldStateService.ts b/src/services/worldStateService.ts index e1946f7a..284ad6ca 100644 --- a/src/services/worldStateService.ts +++ b/src/services/worldStateService.ts @@ -268,7 +268,8 @@ const pushSortieIfRelevant = (worldState: IWorldState, day: number): void => { value.missionIndex != 21 && // Exclude MT_PURIFY value.missionIndex != 22 && // Exclude MT_ARENA value.missionIndex != 23 && // Exclude MT_JUNCTION - value.missionIndex <= 28 + (value.missionIndex != 28 || value.systemIndex == 2) && // MT_LANDSCAPE only on Earth + value.missionIndex < 29 ) { if (!availableMissionIndexes.includes(value.missionIndex)) { availableMissionIndexes.push(value.missionIndex);