Merge pull request #2151 from w3z315/patch-1

Fix ZoneCaptureCoalition on player ejects / gets killed in zone
This commit is contained in:
Frank
2024-07-21 00:35:02 +02:00
committed by GitHub

View File

@@ -1203,7 +1203,7 @@ function ZONE_RADIUS:GetScannedSetUnit()
if FoundUnit then
SetUnit:AddUnit( FoundUnit )
else
local FoundStatic = STATIC:FindByName( UnitObject:getName() )
local FoundStatic = STATIC:FindByName( UnitObject:getName(), false )
if FoundStatic then
SetUnit:AddUnit( FoundStatic )
end