#38 more pedantry wrt who hears sounds

This commit is contained in:
Chris Forbes
2010-01-25 20:57:52 +13:00
parent 890ff42c70
commit 054cfa6862
4 changed files with 7 additions and 7 deletions

View File

@@ -15,7 +15,7 @@ namespace OpenRa.Traits
public SonarPulsePower(Actor self, SonarPulsePowerInfo info) : base(self, info) { }
protected override void OnBeginCharging() { }
protected override void OnFinishCharging() { Sound.Play("pulse1.aud"); }
protected override void OnFinishCharging() { if (Owner == Owner.World.LocalPlayer) Sound.Play("pulse1.aud"); }
protected override void OnActivate()
{