mirror of
https://github.com/FlightControl-Master/MOOSE.git
synced 2025-08-15 10:47:21 +00:00
Progress
This commit is contained in:
@@ -2226,8 +2226,8 @@ function CONTROLLABLE:IsAirPlane()
|
||||
local DCSObject = self:GetDCSObject()
|
||||
|
||||
if DCSObject then
|
||||
local Category = DCSObject:getCategory()
|
||||
self:T2( Category )
|
||||
local Category = DCSObject:getDesc().category
|
||||
self:T( Category )
|
||||
return Category == Unit.Category.AIRPLANE
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user