From b0a192a76722082bd79921da9af389df655a4ba6 Mon Sep 17 00:00:00 2001 From: Thomas <72444570+Applevangelist@users.noreply.github.com> Date: Wed, 2 Apr 2025 16:12:06 +0200 Subject: [PATCH] Update DynamicCargo.lua small fix --- Moose Development/Moose/Wrapper/DynamicCargo.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Moose Development/Moose/Wrapper/DynamicCargo.lua b/Moose Development/Moose/Wrapper/DynamicCargo.lua index 9b3d8dfd6..a31cfc40f 100644 --- a/Moose Development/Moose/Wrapper/DynamicCargo.lua +++ b/Moose Development/Moose/Wrapper/DynamicCargo.lua @@ -388,7 +388,7 @@ function DYNAMICCARGO:_HeloHovering(Unit,ropelength) if DCSUnit then local UnitInAir = DCSUnit:inAir() local UnitCategory = DCSUnit:getDesc().category - if UnitInAir == true and UnitCategory == Unit.Category.HELICOPTER then + if UnitInAir == true and UnitCategory == 1 then local VelocityVec3 = DCSUnit:getVelocity() local Velocity = UTILS.VecNorm(VelocityVec3) local Coordinate = DCSUnit:getPoint()