Killed that fail TechTree, and added a new one to Rules.

This commit is contained in:
Bob
2009-10-30 09:04:33 +13:00
parent 7b28ab7979
commit 6306690730
16 changed files with 133 additions and 272 deletions

View File

@@ -15,10 +15,8 @@ namespace OpenRa.Game.Traits
public void Tick(Actor self)
{
if (first && self.Owner == Game.LocalPlayer)
{
self.Owner.TechTree.Build(self.unitInfo.Name, true);
self.CenterLocation = Game.CellSize * (float2)self.Location + 0.5f * self.SelectedSize;
}
first = false;
}
}