Kiowa rescues sit on the skids, no doors need to be opened

Kiowa rescues sit on the skids, no doors need to be opened
This commit is contained in:
Bryan Keller 2024-09-25 18:51:31 -07:00 committed by GitHub
parent a798f2d61c
commit 2c9b0b8376
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -2315,9 +2315,9 @@ function UTILS.IsLoadingDoorOpen( unit_name )
return true
end
if type_name == "OH-58D" and (unit:getDrawArgumentValue(35) > 0 or unit:getDrawArgumentValue(421) == -1) then
BASE:T(unit_name .. " cargo door is open")
return true
if type_name == "OH58D" then
BASE:T(unit_name .. " front door(s) are open")
return true -- no doors on this one ;)
end
if type_name == "CH-47Fbl1" and (unit:getDrawArgumentValue(86) > 0.5) then