#CTLD - fixed a collision when extracting on a possible distance key duplication

This commit is contained in:
Applevangelist
2024-10-29 13:18:55 +01:00
parent 2fb460c4bb
commit be87103b53
2 changed files with 29 additions and 15 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