Optimizations

This commit is contained in:
FlightControl
2018-12-12 07:31:08 +01:00
parent d098930351
commit 810cebfe0a
6 changed files with 126 additions and 189 deletions

View File

@@ -555,7 +555,7 @@ end
-- @return #number The relative amount of fuel (from 0.0 to 1.0).
-- @return #nil The DCS Unit is not existing or alive.
function UNIT:GetFuel()
self:F( self.UnitName )
self:F3( self.UnitName )
local DCSUnit = self:GetDCSObject()
@@ -571,7 +571,7 @@ end
-- @param #UNIT self
-- @return #list<Wrapper.Unit#UNIT> A list of one @{Wrapper.Unit}.
function UNIT:GetUnits()
self:F2( { self.UnitName } )
self:F3( { self.UnitName } )
local DCSUnit = self:GetDCSObject()
local Units = {}