From 4c2f52a4659591629b90f30e0f73d45e7b3f7482 Mon Sep 17 00:00:00 2001 From: Dominic Renaud Date: Sun, 28 Dec 2025 16:03:56 -0800 Subject: [PATCH] Fix playing sounds when not adding new units to selection --- OpenRA.Mods.Common/Traits/World/Selection.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/OpenRA.Mods.Common/Traits/World/Selection.cs b/OpenRA.Mods.Common/Traits/World/Selection.cs index 0740d586ba..e9f62e2d98 100644 --- a/OpenRA.Mods.Common/Traits/World/Selection.cs +++ b/OpenRA.Mods.Common/Traits/World/Selection.cs @@ -130,7 +130,7 @@ namespace OpenRA.Mods.Common.Traits return; // Play the selection voice from one of the selected actors - foreach (var actor in actors) + foreach (var actor in actors.Intersect(newSelectionCollection)) { if (actor.Owner != world.LocalPlayer || !actor.IsInWorld) continue;