Update Utils.lua

Corrected self to BASE
This commit is contained in:
Applevangelist
2021-08-04 11:07:47 +02:00
committed by GitHub
parent 6b36421bce
commit 2201b2adda

View File

@@ -1579,7 +1579,7 @@ function UTILS.IsLoadingDoorOpen( unit_name )
local type_name = unit:getTypeName()
if type_name == "Mi-8MT" and unit:getDrawArgumentValue(38) == 1 or unit:getDrawArgumentValue(86) == 1 or unit:getDrawArgumentValue(250) == 1 then
self:T(unit_name .. " Cargo doors are open or cargo door not present")
BASE:T(unit_name .. " Cargo doors are open or cargo door not present")
ret_val = true
end
@@ -1751,4 +1751,4 @@ function UTILS.GenerateLaserCodes()
_count = _count + 1
end
return jtacGeneratedLaserCodes
end
end