Attempt to fix the count problem

This commit is contained in:
FlightControl
2017-05-04 06:33:40 +02:00
parent c7d6027734
commit a06c6176a2
2 changed files with 10 additions and 7 deletions

View File

@@ -295,6 +295,7 @@ function MISSION:AbortUnit( PlayerUnit )
local PlayerUnitRemoved = false
for TaskID, Task in pairs( self:GetTasks() ) do
local Task = Task -- Tasking.Task#TASK
if Task:AbortUnit( PlayerUnit ) then
PlayerUnitRemoved = true
end