mirror of
https://github.com/FlightControl-Master/MOOSE.git
synced 2025-08-15 10:47:21 +00:00
commit
ccada18a6a
@ -3564,7 +3564,7 @@ end
|
|||||||
function CTLD:IsFixedWing(Unit)
|
function CTLD:IsFixedWing(Unit)
|
||||||
local typename = Unit:GetTypeName() or "none"
|
local typename = Unit:GetTypeName() or "none"
|
||||||
for _,_name in pairs(self.FixedWingTypes or {}) do
|
for _,_name in pairs(self.FixedWingTypes or {}) do
|
||||||
if typename == _name or string.find(typename,_name,1,true) then
|
if _name and (typename==_name or string.find(typename,_name,1,true))then
|
||||||
return true
|
return true
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user