diff --git a/OpenRa.Game/Controller.cs b/OpenRa.Game/Controller.cs index e0f11c45ce..f82e68ca83 100644 --- a/OpenRa.Game/Controller.cs +++ b/OpenRa.Game/Controller.cs @@ -69,6 +69,14 @@ namespace OpenRa.Game else orderGenerator = new UnitOrderGenerator( Game.SelectUnitOrBuilding(Game.CellSize * xy)); + + var voicedUnit = ((UnitOrderGenerator)orderGenerator).selection + .Select(a => a.traits.GetOrDefault()) + .Where(m => m != null && m.self.Owner == Game.LocalPlayer) + .FirstOrDefault(); + + if (voicedUnit != null) + Game.PlaySound(Game.SovietVoices.Second.GetNext() + GetVoiceSuffix(voicedUnit.self), false); } dragStart = dragEnd = xy;