diff --git a/OpenRA.Mods.Common/Traits/Sound/AmbientSound.cs b/OpenRA.Mods.Common/Traits/Sound/AmbientSound.cs index 967f8b9b2d..c8d971d457 100644 --- a/OpenRA.Mods.Common/Traits/Sound/AmbientSound.cs +++ b/OpenRA.Mods.Common/Traits/Sound/AmbientSound.cs @@ -24,10 +24,10 @@ namespace OpenRA.Mods.Common.Traits { public AmbientSound(Actor self, AmbientSoundInfo info) { - if (self == self.World.WorldActor) - Sound.PlayLooped(info.SoundFile); - else + if (self.HasTrait()) Sound.PlayLooped(info.SoundFile, self.CenterPosition); + else + Sound.PlayLooped(info.SoundFile); } } }