Fix SpawnActorPower not playing launch sounds
This commit is contained in:
@@ -50,6 +50,7 @@ namespace OpenRA.Mods.Common.Traits
|
|||||||
{
|
{
|
||||||
var location = self.World.Map.CenterOfCell(order.TargetLocation);
|
var location = self.World.Map.CenterOfCell(order.TargetLocation);
|
||||||
|
|
||||||
|
PlayLaunchSounds();
|
||||||
Game.Sound.Play(SoundType.World, info.DeploySound, location);
|
Game.Sound.Play(SoundType.World, info.DeploySound, location);
|
||||||
|
|
||||||
if (!string.IsNullOrEmpty(info.EffectSequence) && !string.IsNullOrEmpty(info.EffectPalette))
|
if (!string.IsNullOrEmpty(info.EffectSequence) && !string.IsNullOrEmpty(info.EffectPalette))
|
||||||
|
|||||||
Reference in New Issue
Block a user