UTILS - corrected door check for AH64

This commit is contained in:
Applevangelist 2022-04-12 08:23:37 +02:00
parent b24f31922f
commit 7525fe9357

View File

@ -1773,7 +1773,7 @@ function UTILS.IsLoadingDoorOpen( unit_name )
ret_val = true
end
if string.find(type_name, "AH-64D") then
if type_name == "AH-64D_BLK_II" then
BASE:T(unit_name .. " front door(s) are open")
ret_val = true -- no doors on this one ;)
end