sidebar is dead. long live chrome

This commit is contained in:
Chris Forbes
2009-11-17 20:32:52 +13:00
parent a2de047c9f
commit 2c05e2d6e0
6 changed files with 35 additions and 311 deletions

View File

@@ -100,7 +100,10 @@ namespace OpenRa.Game
* ( 25 * 60 ) /* frames per min */ /* todo: build acceleration, if we do that */
/ 1000;
time = .01f * time; /* temporary hax so we can build stuff fast for test */
time = .08f * time; /* temporary hax so we can build stuff fast for test */
if (!Rules.TechTree.BuildableItems(order.Player, group).Contains(order.TargetString))
return; /* you can't build that!! */
order.Player.BeginProduction(group,
new ProductionItem(order.TargetString, (int)time, ui.Cost,