This commit is contained in:
Applevangelist
2024-10-29 13:18:00 +01:00
parent a012184dfe
commit 9d46968103
2 changed files with 28 additions and 14 deletions

View File

@@ -485,7 +485,8 @@ function GROUP:Destroy( GenerateEvent, delay )
self:ScheduleOnce(delay, GROUP.Destroy, self, GenerateEvent)
else
local DCSGroup = self:GetDCSObject()
--local DCSGroup = self:GetDCSObject()
local DCSGroup = Group.getByName( self.GroupName )
if DCSGroup then
for Index, UnitData in pairs( DCSGroup:getUnits() ) do