mirror of
https://github.com/FlightControl-Master/MOOSE.git
synced 2025-08-15 10:47:21 +00:00
Update DynamicCargo.lua
#DYNAMICCARGO small fixes
This commit is contained in:
parent
dc83af4d02
commit
b66e91b11f
@ -124,7 +124,7 @@ DYNAMICCARGO.AircraftDimensions = {
|
|||||||
|
|
||||||
--- DYNAMICCARGO class version.
|
--- DYNAMICCARGO class version.
|
||||||
-- @field #string version
|
-- @field #string version
|
||||||
DYNAMICCARGO.version="0.0.5"
|
DYNAMICCARGO.version="0.0.6"
|
||||||
|
|
||||||
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
|
||||||
-- TODO list
|
-- TODO list
|
||||||
@ -227,7 +227,7 @@ end
|
|||||||
-- @param #DYNAMICCARGO self
|
-- @param #DYNAMICCARGO self
|
||||||
-- @return #boolean Outcome
|
-- @return #boolean Outcome
|
||||||
function DYNAMICCARGO:IsUnloaded()
|
function DYNAMICCARGO:IsUnloaded()
|
||||||
if self.CargoState and self.CargoState == DYNAMICCARGO.State.REMOVED then
|
if self.CargoState and self.CargoState == DYNAMICCARGO.State.UNLOADED then
|
||||||
return true
|
return true
|
||||||
else
|
else
|
||||||
return false
|
return false
|
||||||
@ -238,7 +238,7 @@ end
|
|||||||
-- @param #DYNAMICCARGO self
|
-- @param #DYNAMICCARGO self
|
||||||
-- @return #boolean Outcome
|
-- @return #boolean Outcome
|
||||||
function DYNAMICCARGO:IsRemoved()
|
function DYNAMICCARGO:IsRemoved()
|
||||||
if self.CargoState and self.CargoState == DYNAMICCARGO.State.UNLOADED then
|
if self.CargoState and self.CargoState == DYNAMICCARGO.State.REMOVED then
|
||||||
return true
|
return true
|
||||||
else
|
else
|
||||||
return false
|
return false
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user