Skip to content

Commit

Permalink
Merge pull request #2178 from brykeller/patch-2
Browse files Browse the repository at this point in the history
Kiowa rescues sit on the skids, no doors need to be opened
  • Loading branch information
Applevangelist authored Sep 26, 2024
2 parents 231f1f2 + 2c9b0b8 commit 8fa5277
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Moose Development/Moose/Utilities/Utils.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 8fa5277

Please sign in to comment.