From ecde6ad69450ade3f54c0d840959a0fa13b19a54 Mon Sep 17 00:00:00 2001 From: FlightControl Date: Mon, 17 Apr 2017 11:34:12 +0200 Subject: [PATCH] Made A2G_TASK_DISPATCHER only detect ground units. This solves issue #425 ... --- Moose Development/Moose/Tasking/Task_A2G_Dispatcher.lua | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Moose Development/Moose/Tasking/Task_A2G_Dispatcher.lua b/Moose Development/Moose/Tasking/Task_A2G_Dispatcher.lua index a30c335ba..3ac526534 100644 --- a/Moose Development/Moose/Tasking/Task_A2G_Dispatcher.lua +++ b/Moose Development/Moose/Tasking/Task_A2G_Dispatcher.lua @@ -72,6 +72,8 @@ do -- TASK_A2G_DISPATCHER self.Detection = Detection self.Mission = Mission + self.Detection:FilterCategories( Unit.Category.GROUND_UNIT, Unit.Category.SHIP ) + self:AddTransition( "Started", "Assign", "Started" ) --- OnAfter Transition Handler for Event Assign.