#Minor Fixes

This commit is contained in:
Applevangelist
2024-03-15 10:25:40 +01:00
parent 378e76e45b
commit 244abe2bbb
4 changed files with 32 additions and 17 deletions

View File

@@ -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()