added Sound.PlayToPlayer. changed existing if(localPlayer) Play() idiom to use it. fixed two places that used Play where PlayToPlayer was correct (mcvUndeploy and "spyplane ready")
This commit is contained in:
@@ -18,8 +18,7 @@ namespace OpenRa.Traits
|
||||
self.Owner.TakeCash(toSteal);
|
||||
thief.Owner.GiveCash(toSteal);
|
||||
|
||||
if (self.World.LocalPlayer == thief.Owner)
|
||||
Sound.Play("credit1.aud");
|
||||
Sound.PlayToPlayer(thief.Owner, "credit1.aud");
|
||||
}
|
||||
|
||||
public IEnumerable<PipType> GetPips(Actor self)
|
||||
|
||||
Reference in New Issue
Block a user