Support indefinite beacon duration for support powers that remove the beacon on completion.
This commit is contained in:
@@ -44,7 +44,8 @@ namespace OpenRA.Mods.RA.Effects
|
||||
poster.Play(posterType);
|
||||
}
|
||||
|
||||
owner.World.Add(new DelayedAction(duration, () => owner.World.Remove(this)));
|
||||
if (duration > 0)
|
||||
owner.World.Add(new DelayedAction(duration, () => owner.World.Remove(this)));
|
||||
}
|
||||
|
||||
public void Tick(World world)
|
||||
|
||||
Reference in New Issue
Block a user