mirror of
https://github.com/FlightControl-Master/MOOSE.git
synced 2025-10-29 16:58:06 +00:00
Fix ZoneCaptureCoalition on player ejects / gets killed in zone
ZoneCaptureCoalition.lua:879 calls GetScannedSetUnit and will stop the scheduler if the error message for STATICs is raised. We already have a check if it is present so we can add this explicitly here.
This commit is contained in:
parent
d07107d937
commit
041cd238df
@ -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