diff --git a/OpenRA.Mods.Common/Projectiles/InstantHit.cs b/OpenRA.Mods.Common/Projectiles/InstantHit.cs index 23c8465372..309201abd7 100644 --- a/OpenRA.Mods.Common/Projectiles/InstantHit.cs +++ b/OpenRA.Mods.Common/Projectiles/InstantHit.cs @@ -10,6 +10,7 @@ #endregion using System.Collections.Generic; +using System.Linq; using OpenRA.GameRules; using OpenRA.Graphics; using OpenRA.Mods.Common.Traits; @@ -75,7 +76,7 @@ namespace OpenRA.Mods.Common.Projectiles public IEnumerable Render(WorldRenderer wr) { - yield break; + return Enumerable.Empty(); } } }