mirror of
https://github.com/FlightControl-Master/MOOSE.git
synced 2025-10-29 16:58:06 +00:00
getCategory behaviour
- Fixed several classes for new `getCategory` behaviour (should be backwards compatible to earlier DCS versions).
This commit is contained in:
@@ -367,7 +367,7 @@ function WEAPON:GetTarget()
|
||||
if object then
|
||||
|
||||
-- Get object category.
|
||||
local category=object:getCategory()
|
||||
local category=Object.getCategory(object)
|
||||
|
||||
--Target name
|
||||
local name=object:getName()
|
||||
|
||||
Reference in New Issue
Block a user