add ISync to all traits that have [Sync] members

This commit is contained in:
Chris Forbes
2011-01-26 10:02:24 +13:00
committed by Paul Chote
parent b7ea695f0c
commit f52620f6fc
41 changed files with 56 additions and 54 deletions

View File

@@ -20,9 +20,9 @@ namespace OpenRA.Mods.RA.Buildings
public readonly float RepairRate = 0.016f;
public readonly int RepairStep = 7;
public object Create(ActorInitializer init) { return new RepairableBuilding(init.self, this); }
}
public class RepairableBuilding : ITick, IResolveOrder
}
public class RepairableBuilding : ITick, IResolveOrder, ISync
{
[Sync]
bool isRepairing = false;