fix: exclude capture as a mission type for sorties
This commit is contained in:
parent
743b784754
commit
aa803af134
@ -269,7 +269,10 @@ const pushSortieIfRelevant = (worldState: IWorldState, day: number): void => {
|
||||
sortieFactionToFactionIndexes[sortieBossToFaction[boss]].includes(value.factionIndex!) &&
|
||||
key in sortieTilesets
|
||||
) {
|
||||
if (!availableMissionIndexes.includes(value.missionIndex)) {
|
||||
if (
|
||||
value.missionIndex != 5 && // Sorties do not have capture missions
|
||||
!availableMissionIndexes.includes(value.missionIndex)
|
||||
) {
|
||||
availableMissionIndexes.push(value.missionIndex);
|
||||
}
|
||||
nodes.push(key);
|
||||
|
Loading…
x
Reference in New Issue
Block a user