#minor fixes

This commit is contained in:
Applevangelist
2024-03-15 10:25:58 +01:00
parent 6ae2f6f105
commit b66ff35b63
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()