Fixes in AI_A2G_DISPATCHER

This commit is contained in:
FlightControl
2019-03-09 06:32:11 +01:00
parent ef1a9330a4
commit d72e89d52b
4 changed files with 18 additions and 16 deletions

View File

@@ -1900,7 +1900,7 @@ function CONTROLLABLE:TaskFunction( FunctionString, ... )
local DCSScript = {}
DCSScript[#DCSScript+1] = "local MissionControllable = GROUP:Find( ... ) "
DCSScript[#DCSScript+1] = "env.info( 'TaskFunction: ' .. ( MissionControllable and MissionControllable:GetName() ) or 'No Group' )"
--DCSScript[#DCSScript+1] = "env.info( 'TaskFunction: ' .. ( MissionControllable and MissionControllable:GetName() ) or 'No Group' )"
if arg and arg.n > 0 then
local ArgumentKey = '_' .. tostring( arg ):match("table: (.*)")