added missing build sound

This commit is contained in:
Chris Forbes
2009-11-30 13:33:00 +13:00
parent 44168e9f97
commit fa02e9d45c

View File

@@ -37,7 +37,10 @@ namespace OpenRa.Game
Game.world.Add( new Actor( building.Name, order.TargetLocation - GameRules.Footprint.AdjustForBuildingSize( building ), order.Player ) );
if (order.Player == Game.LocalPlayer)
{
Game.PlaySound("placbldg.aud", false);
Game.PlaySound("build5.aud", false);
}
order.Player.FinishProduction(Rules.UnitCategory[building.Name]);
} );