mirror of
https://github.com/FlightControl-Master/MOOSE.git
synced 2025-10-29 16:58:06 +00:00
Removed trace
This commit is contained in:
parent
18a76fa355
commit
4b7b042bb1
@ -1185,9 +1185,11 @@ end
|
|||||||
-- @param #string To
|
-- @param #string To
|
||||||
function TASK:onenterAssigned( From, Event, To, PlayerUnit, PlayerName )
|
function TASK:onenterAssigned( From, Event, To, PlayerUnit, PlayerName )
|
||||||
|
|
||||||
|
|
||||||
|
--- This test is required, because the state transition will be fired also when the state does not change in case of an event.
|
||||||
|
if From ~= "Assigned" then
|
||||||
self:E( { From, Event, To, PlayerUnit:GetName(), PlayerName } )
|
self:E( { From, Event, To, PlayerUnit:GetName(), PlayerName } )
|
||||||
|
|
||||||
if From ~= "Assigned" then
|
|
||||||
self:GetMission():GetCommandCenter():MessageToCoalition( "Task " .. self:GetName() .. " is assigned." )
|
self:GetMission():GetCommandCenter():MessageToCoalition( "Task " .. self:GetName() .. " is assigned." )
|
||||||
|
|
||||||
-- Set the total Progress to be achieved.
|
-- Set the total Progress to be achieved.
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user