Merge remote-tracking branch 'origin/develop' into branch

This commit is contained in:
Applevangelist
2025-01-12 17:12:09 +01:00
2 changed files with 56 additions and 27 deletions
+1 -1
View File
@@ -7978,7 +7978,7 @@ function SET_OPSGROUP:_EventOnBirth(Event)
function SET_OPSGROUP:_EventOnDeadOrCrash( Event )
--self:F( { Event } )
if Event.IniDCSUnit then
if Event.IniDCSGroup then
local ObjectName, Object = self:FindInDatabase( Event )
if ObjectName then
if Event.IniDCSGroup:getSize() == 1 then -- Only remove if the last unit of the group was destroyed.