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:
@@ -27,8 +27,7 @@ namespace OpenRa.Traits
|
||||
|
||||
Owner.World.AddFrameEndTask(w =>
|
||||
{
|
||||
if (Owner == Owner.World.LocalPlayer)
|
||||
Sound.Play("satlnch1.aud");
|
||||
Sound.PlayToPlayer(Owner, "satlnch1.aud");
|
||||
|
||||
w.Add(new SatelliteLaunch(launchSite));
|
||||
w.Add(new DelayedAction((Info as GpsPowerInfo).RevealDelay * 25,
|
||||
|
||||
Reference in New Issue
Block a user