Mission complete disabled when a task is finished

The concept was completely wrong. A mission will require separate logic
or triggers to register goal completion. I will need to do a training
video on that one.
This commit is contained in:
FlightControl 2017-05-16 16:58:40 +02:00
parent aa159b1337
commit 71c59aec74

View File

@ -1174,7 +1174,7 @@ function TASK:onenterSuccess( From, Event, To )
self:GetMission():GetCommandCenter():MessageToCoalition( "Task " .. self:GetName() .. " is successful! Good job!" )
self:UnAssignFromGroups()
self:GetMission():__Complete( 1 )
--self:GetMission():__Complete( 1 )
end