diff --git a/OpenRA.Game/Traits/World/Shroud.cs b/OpenRA.Game/Traits/World/Shroud.cs index e7018ffb01..21b10feb4d 100644 --- a/OpenRA.Game/Traits/World/Shroud.cs +++ b/OpenRA.Game/Traits/World/Shroud.cs @@ -120,7 +120,7 @@ namespace OpenRA.Traits // No longer our ally; remove unit vis if (oldStance == Stance.Ally) { - var toRemove = new List(vis.Select(a => a.Key).Where(a => a.Owner == player)); + var toRemove = vis.Select(a => a.Key).Where(a => a.Owner == player).ToList(); foreach (var a in toRemove) RemoveActor(a); }