From db042340624356821710cd71cbf1a5369b3f4744 Mon Sep 17 00:00:00 2001 From: reaperrr Date: Thu, 2 Feb 2017 19:44:30 +0100 Subject: [PATCH] Remove dead code from AnimatedBeacon This was simply forgotten to be removed by https://github.com/OpenRA/OpenRA/pull/12309 --- OpenRA.Mods.TS/Effects/AnimatedBeacon.cs | 3 --- 1 file changed, 3 deletions(-) diff --git a/OpenRA.Mods.TS/Effects/AnimatedBeacon.cs b/OpenRA.Mods.TS/Effects/AnimatedBeacon.cs index 2a370c796e..7cc8e8e830 100644 --- a/OpenRA.Mods.TS/Effects/AnimatedBeacon.cs +++ b/OpenRA.Mods.TS/Effects/AnimatedBeacon.cs @@ -44,9 +44,6 @@ namespace OpenRA.Mods.TS.Effects beacon = new Animation(owner.World, beaconImage); beacon.PlayRepeating(beaconSequence); } - - if (duration > 0) - owner.World.Add(new DelayedAction(duration, () => owner.World.Remove(this))); } void IEffect.Tick(World world)