Added FilterActive() method in SET\_UNIT, SET\GROUP, SET\_CLIENT.

Haven't tested the behaviour for CLIENTs joining and leaving.
This commit is contained in:
FlightControl
2018-09-11 20:38:09 +02:00
parent d5e2365bb3
commit 9c9633ba23
5 changed files with 186 additions and 64 deletions

View File

@@ -258,7 +258,6 @@ do -- CARGO_GROUP
--- @param #CARGO_GROUP self
-- @param Core.Event#EVENTDATA EventData
function CARGO_GROUP:OnEventCargoDead( EventData )
self:I( EventData )
local Destroyed = false
@@ -424,7 +423,7 @@ do -- CARGO_GROUP
ToVec=ToPointVec2
end
Cargo:__UnBoard( Timer, ToVec, NearRadius )
Timer = Timer + 3
Timer = Timer + 1
end
end, { NearRadius }
)