mirror of
https://github.com/FlightControl-Master/MOOSE.git
synced 2025-10-29 16:58:06 +00:00
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:
parent
aa159b1337
commit
71c59aec74
@ -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
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user