mirror of
https://github.com/FlightControl-Master/MOOSE.git
synced 2025-08-15 10:47:21 +00:00
Merge pull request #2296 from FlightControl-Master/master
Merge from master
This commit is contained in:
commit
c49b56eefc
@ -3564,7 +3564,7 @@ end
|
||||
function CTLD:IsFixedWing(Unit)
|
||||
local typename = Unit:GetTypeName() or "none"
|
||||
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
|
||||
end
|
||||
end
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user