mirror of
https://github.com/FlightControl-Master/MOOSE.git
synced 2025-08-15 10:47:21 +00:00
Update FlightGroup.lua
This commit is contained in:
parent
0782532763
commit
9cd3027ea6
@ -1083,11 +1083,11 @@ function FLIGHTGROUP:Status()
|
|||||||
-- Life points.
|
-- Life points.
|
||||||
local life=self.life or 0
|
local life=self.life or 0
|
||||||
|
|
||||||
-- Total ammo.
|
-- Total ammo.
|
||||||
local ammo=self:GetAmmoTot().Total
|
local ammo=self:GetAmmoTot().Total
|
||||||
|
|
||||||
-- Detected units.
|
-- Detected units.
|
||||||
local ndetected=self.detectionOn and tostring(self.detectedunits:Count()) or "Off"
|
local ndetected=self.detectionOn and tostring(self.detectedunits:Count()) or "Off"
|
||||||
|
|
||||||
-- Get cargo weight.
|
-- Get cargo weight.
|
||||||
local cargo=0
|
local cargo=0
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user