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
commit 51e703326e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

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