#CTLD - Allow CA Transport

This commit is contained in:
Applevangelist
2025-04-06 15:37:56 +02:00
parent ff5adc29d9
commit 9d7986e8d1
2 changed files with 65 additions and 13 deletions

View File

@@ -2329,8 +2329,12 @@ function UTILS.IsLoadingDoorOpen( unit_name )
BASE:T(unit_name .. " rear cargo door is open")
return true
end
return false
-- ground
local UnitDescriptor = unit:getDesc()
local IsGroundResult = (UnitDescriptor.category == Unit.Category.GROUND_UNIT)
return IsGroundResult
end -- nil