diff --git a/Moose Development/Moose/Ops/Auftrag.lua b/Moose Development/Moose/Ops/Auftrag.lua index a505f3a4f..b002320f2 100644 --- a/Moose Development/Moose/Ops/Auftrag.lua +++ b/Moose Development/Moose/Ops/Auftrag.lua @@ -5779,11 +5779,9 @@ function AUFTRAG:GetDCSMissionTask() -- SEAD Mission -- ------------------ - --[[ - local DCStask=CONTROLLABLE.EnRouteTaskEngageTargets(nil, nil ,{"Air Defence"} , 0) - table.insert(self.enrouteTasks, DCStask) - DCStask.key="SEAD" - ]] + -- Add enroute task SEAD. Disabled that here because the group enganges everything on its route. + --local DCStask=CONTROLLABLE.EnRouteTaskSEAD(nil, self.TargetType) + --table.insert(self.enrouteTasks, DCStask) self:_GetDCSAttackTask(self.engageTarget, DCStasks) diff --git a/Moose Development/Moose/Ops/Legion.lua b/Moose Development/Moose/Ops/Legion.lua index 99122ff17..94821c516 100644 --- a/Moose Development/Moose/Ops/Legion.lua +++ b/Moose Development/Moose/Ops/Legion.lua @@ -2949,6 +2949,9 @@ function LEGION:AssignAssetsForEscort(Cohorts, Assets, NescortMin, NescortMax, M -- For a SEAD mission, we also adjust the mission task. if MissionType==AUFTRAG.Type.SEAD then escort.missionTask=ENUMS.MissionTask.SEAD + -- Add enroute task SEAD. + local DCStask=CONTROLLABLE.EnRouteTaskSEAD(nil) + table.insert(escort.enrouteTasks, DCStask) end -- Reserve assts and add to mission.