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

@@ -364,7 +364,6 @@ do -- SETTINGS
-- @param #SETTINGS self
-- @return #boolean true if BRA
function SETTINGS:IsA2A_BRAA()
self:E( { BRA = ( self.A2ASystem and self.A2ASystem == "BRAA" ) or ( not self.A2ASystem and _SETTINGS:IsA2A_BRAA() ) } )
return ( self.A2ASystem and self.A2ASystem == "BRAA" ) or ( not self.A2ASystem and _SETTINGS:IsA2A_BRAA() )
end