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:
@@ -96,8 +96,7 @@ namespace OpenRa.Traits
|
||||
}
|
||||
isPrimary = true;
|
||||
|
||||
if (self.Owner == self.World.LocalPlayer)
|
||||
Sound.Play("pribldg1.aud");
|
||||
Sound.PlayToPlayer(self.Owner, "pribldg1.aud");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user