diff --git a/OpenRA.Game/Effects/FlashTarget.cs b/OpenRA.Game/Effects/FlashTarget.cs index 9c43c2bcf6..73cc191c20 100755 --- a/OpenRA.Game/Effects/FlashTarget.cs +++ b/OpenRA.Game/Effects/FlashTarget.cs @@ -34,6 +34,9 @@ namespace OpenRA.Effects public IEnumerable Render() { + if (!target.IsInWorld) + yield break; + if (remainingTicks % 2 == 0) foreach (var r in target.Render()) yield return r.WithPalette("highlight");