mirror of
https://github.com/FlightControl-Master/MOOSE.git
synced 2025-10-29 16:58:06 +00:00
Merge pull request #2151 from w3z315/patch-1
Fix ZoneCaptureCoalition on player ejects / gets killed in zone
This commit is contained in:
commit
51e703326e
@ -1203,7 +1203,7 @@ function ZONE_RADIUS:GetScannedSetUnit()
|
|||||||
if FoundUnit then
|
if FoundUnit then
|
||||||
SetUnit:AddUnit( FoundUnit )
|
SetUnit:AddUnit( FoundUnit )
|
||||||
else
|
else
|
||||||
local FoundStatic = STATIC:FindByName( UnitObject:getName() )
|
local FoundStatic = STATIC:FindByName( UnitObject:getName(), false )
|
||||||
if FoundStatic then
|
if FoundStatic then
|
||||||
SetUnit:AddUnit( FoundStatic )
|
SetUnit:AddUnit( FoundStatic )
|
||||||
end
|
end
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user