#CTLD - Allow CA Ground Transport

This commit is contained in:
Applevangelist
2025-04-06 15:38:26 +02:00
parent b7b6c1ea19
commit 3083599158
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