don't play deploy sound to everyone
This commit is contained in:
@@ -11,8 +11,11 @@ namespace OpenRa.Game.Traits.Activities
|
||||
Game.world.AddFrameEndTask( _ =>
|
||||
{
|
||||
Game.world.Remove( self );
|
||||
Sound.Play("placbldg.aud");
|
||||
Sound.Play("build5.aud");
|
||||
if (self.Owner == Game.LocalPlayer)
|
||||
{
|
||||
Sound.Play("placbldg.aud");
|
||||
Sound.Play("build5.aud");
|
||||
}
|
||||
Game.world.Add( new Actor( Rules.UnitInfo["fact"], self.Location - new int2( 1, 1 ), self.Owner ) );
|
||||
} );
|
||||
return this;
|
||||
|
||||
Reference in New Issue
Block a user