remove FP from RepairableBuilding

This commit is contained in:
Chris Forbes
2011-02-13 22:12:46 +13:00
parent 0f0facedd1
commit bc32d32d54
2 changed files with 7 additions and 8 deletions

View File

@@ -25,7 +25,7 @@ namespace OpenRA.Mods.RA.Effects
public RepairIndicator(Actor a)
{
this.a = a; anim.PlayRepeating("repair");
framesLeft = (int)(a.Info.Traits.Get<RepairableBuildingInfo>().RepairRate * 25 * 60 / 2);
framesLeft = a.Info.Traits.Get<RepairableBuildingInfo>().RepairInterval / 2;
}
public void Tick( World world )