mirror of
https://github.com/FlightControl-Master/MOOSE.git
synced 2025-08-15 10:47:21 +00:00
#Minor Fixes
This commit is contained in:
@@ -426,7 +426,7 @@ function GROUP:IsActive()
|
||||
|
||||
local DCSGroup = self:GetDCSObject() -- DCS#Group
|
||||
|
||||
if DCSGroup then
|
||||
if DCSGroup and DCSGroup:isExist() then
|
||||
local unit = DCSGroup:getUnit(1)
|
||||
if unit then
|
||||
local GroupIsActive = unit:isActive()
|
||||
|
||||
Reference in New Issue
Block a user