Updated trace to minimize trace overhead.

This commit is contained in:
FlightControl 2017-06-29 13:18:01 +02:00
parent bccc4abf26
commit 18a76fa355

View File

@ -1185,7 +1185,7 @@ end
-- @param #string To
function TASK:onenterAssigned( From, Event, To, PlayerUnit, PlayerName )
self:E( { "Task Assigned", self.Dispatcher } )
self:E( { From, Event, To, PlayerUnit:GetName(), PlayerName } )
if From ~= "Assigned" then
self:GetMission():GetCommandCenter():MessageToCoalition( "Task " .. self:GetName() .. " is assigned." )