mirror of
https://github.com/FlightControl-Master/MOOSE.git
synced 2026-08-11 19:58:22 +00:00
WH 0.9.0
WH: Added AssedLowFuel event.
This commit is contained in:
@@ -655,7 +655,7 @@ end
|
||||
|
||||
--- Count number of alive units in the group.
|
||||
-- @param #GROUP self
|
||||
-- @return #number Number of alive units
|
||||
-- @return #number Number of alive units. If DCS group is nil, 0 is returned.
|
||||
function GROUP:CountAliveUnits()
|
||||
self:F3( { self.GroupName } )
|
||||
local DCSGroup = self:GetDCSObject()
|
||||
@@ -672,7 +672,7 @@ function GROUP:CountAliveUnits()
|
||||
return n
|
||||
end
|
||||
|
||||
return nil
|
||||
return 0
|
||||
end
|
||||
|
||||
--- Get the first unit of the group which is alive.
|
||||
|
||||
Reference in New Issue
Block a user