diff --git a/OpenRA.Mods.Cnc/Traits/SupportPowers/AttackOrderPower.cs b/OpenRA.Mods.Cnc/Traits/SupportPowers/AttackOrderPower.cs index e89b43cfb8..63deb1be41 100644 --- a/OpenRA.Mods.Cnc/Traits/SupportPowers/AttackOrderPower.cs +++ b/OpenRA.Mods.Cnc/Traits/SupportPowers/AttackOrderPower.cs @@ -45,6 +45,7 @@ namespace OpenRA.Mods.Cnc.Traits public override void Activate(Actor self, Order order, SupportPowerManager manager) { base.Activate(self, order, manager); + PlayLaunchSounds(); attack.AttackTarget(order.Target, AttackSource.Default, false, false, true); } diff --git a/OpenRA.Mods.Cnc/Traits/SupportPowers/ChronoshiftPower.cs b/OpenRA.Mods.Cnc/Traits/SupportPowers/ChronoshiftPower.cs index afb64f888d..2f64981fc9 100644 --- a/OpenRA.Mods.Cnc/Traits/SupportPowers/ChronoshiftPower.cs +++ b/OpenRA.Mods.Cnc/Traits/SupportPowers/ChronoshiftPower.cs @@ -70,6 +70,7 @@ namespace OpenRA.Mods.Cnc.Traits public override void Activate(Actor self, Order order, SupportPowerManager manager) { base.Activate(self, order, manager); + PlayLaunchSounds(); var info = (ChronoshiftPowerInfo)Info; var targetDelta = self.World.Map.CellContaining(order.Target.CenterPosition) - order.ExtraLocation; diff --git a/OpenRA.Mods.Cnc/Traits/SupportPowers/GpsPower.cs b/OpenRA.Mods.Cnc/Traits/SupportPowers/GpsPower.cs index f34c75b4e6..1c32ac6c74 100644 --- a/OpenRA.Mods.Cnc/Traits/SupportPowers/GpsPower.cs +++ b/OpenRA.Mods.Cnc/Traits/SupportPowers/GpsPower.cs @@ -79,9 +79,7 @@ namespace OpenRA.Mods.Cnc.Traits self.World.AddFrameEndTask(w => { - Game.Sound.PlayToPlayer(SoundType.World, self.Owner, Info.LaunchSound); - Game.Sound.PlayNotification(self.World.Map.Rules, self.Owner, "Speech", - Info.LaunchSpeechNotification, self.Owner.Faction.InternalName); + PlayLaunchSounds(); w.Add(new SatelliteLaunch(self, info)); }); diff --git a/OpenRA.Mods.Common/Traits/SupportPowers/GrantExternalConditionPower.cs b/OpenRA.Mods.Common/Traits/SupportPowers/GrantExternalConditionPower.cs index 57b6234fb8..5050c94d09 100644 --- a/OpenRA.Mods.Common/Traits/SupportPowers/GrantExternalConditionPower.cs +++ b/OpenRA.Mods.Common/Traits/SupportPowers/GrantExternalConditionPower.cs @@ -68,6 +68,7 @@ namespace OpenRA.Mods.Common.Traits public override void Activate(Actor self, Order order, SupportPowerManager manager) { base.Activate(self, order, manager); + PlayLaunchSounds(); var wsb = self.TraitOrDefault(); if (wsb != null && wsb.DefaultAnimation.HasSequence(info.Sequence)) diff --git a/OpenRA.Mods.Common/Traits/SupportPowers/ProduceActorPower.cs b/OpenRA.Mods.Common/Traits/SupportPowers/ProduceActorPower.cs index 560a46a798..c7d96c23c9 100644 --- a/OpenRA.Mods.Common/Traits/SupportPowers/ProduceActorPower.cs +++ b/OpenRA.Mods.Common/Traits/SupportPowers/ProduceActorPower.cs @@ -58,6 +58,7 @@ namespace OpenRA.Mods.Common.Traits public override void Activate(Actor self, Order order, SupportPowerManager manager) { base.Activate(self, order, manager); + PlayLaunchSounds(); var info = Info as ProduceActorPowerInfo; var producers = self.World.ActorsWithTrait()