mirror of
https://github.com/FlightControl-Master/MOOSE.git
synced 2025-10-29 16:58:06 +00:00
Update OpsZone.lua
- Fix for new `getCategory` behaviour
This commit is contained in:
parent
067285f870
commit
75a6a798ac
@ -1025,7 +1025,7 @@ function OPSZONE:Scan()
|
||||
if ZoneObject then
|
||||
|
||||
-- Object category.
|
||||
local ObjectCategory=ZoneObject:getCategory()
|
||||
local ObjectCategory=Object.getCategory(ZoneObject)
|
||||
|
||||
if ObjectCategory==Object.Category.UNIT and ZoneObject:isExist() and ZoneObject:isActive() then
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user