#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

@@ -14,8 +14,8 @@ namespace OpenRa.Traits
{
public NukePower(Actor self, NukePowerInfo info) : base(self, info) { }
protected override void OnBeginCharging() { Sound.Play("aprep1.aud"); }
protected override void OnFinishCharging() { Sound.Play("aready1.aud"); }
protected override void OnBeginCharging() { if (Owner == Owner.World.LocalPlayer) Sound.Play("aprep1.aud"); }
protected override void OnFinishCharging() { if (Owner == Owner.World.LocalPlayer) Sound.Play("aready1.aud"); }
protected override void OnActivate()
{
Game.controller.orderGenerator = new SelectTarget();