From b66e91b11ff8d20ccae79f7a75c9099da9bed369 Mon Sep 17 00:00:00 2001 From: Thomas <72444570+Applevangelist@users.noreply.github.com> Date: Mon, 31 Mar 2025 12:31:23 +0200 Subject: [PATCH] Update DynamicCargo.lua #DYNAMICCARGO small fixes --- Moose Development/Moose/Wrapper/DynamicCargo.lua | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Moose Development/Moose/Wrapper/DynamicCargo.lua b/Moose Development/Moose/Wrapper/DynamicCargo.lua index 3ff7ddc53..75d1105dc 100644 --- a/Moose Development/Moose/Wrapper/DynamicCargo.lua +++ b/Moose Development/Moose/Wrapper/DynamicCargo.lua @@ -124,7 +124,7 @@ DYNAMICCARGO.AircraftDimensions = { --- DYNAMICCARGO class version. -- @field #string version -DYNAMICCARGO.version="0.0.5" +DYNAMICCARGO.version="0.0.6" ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- -- TODO list @@ -227,7 +227,7 @@ end -- @param #DYNAMICCARGO self -- @return #boolean Outcome 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 else return false @@ -238,7 +238,7 @@ end -- @param #DYNAMICCARGO self -- @return #boolean Outcome 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 else return false