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:
@@ -95,9 +95,7 @@ namespace OpenRa.Traits
|
||||
public void Selling( Actor self )
|
||||
{
|
||||
anim.PlayBackwardsThen( "make", null );
|
||||
|
||||
if (self.Owner == self.World.LocalPlayer)
|
||||
Sound.Play("cashturn.aud");
|
||||
Sound.PlayToPlayer(self.Owner, "cashturn.aud");
|
||||
}
|
||||
|
||||
public void Sold(Actor self) { DoBib(self, true); }
|
||||
|
||||
Reference in New Issue
Block a user