I don't care if that "breaks linebuild", that's not how to fix it; a couple of missing [Sync]s

This commit is contained in:
Bob
2010-04-02 22:16:05 +12:00
parent b4298a445e
commit 93bdba6ca4
3 changed files with 4 additions and 4 deletions

View File

@@ -36,9 +36,8 @@ namespace OpenRA.Traits
var unit = Rules.Info[ order.TargetString ];
var producing = queue.CurrentItem(unit.Category);
// Breaks linebuild
//if( producing == null || producing.Item != order.TargetString || producing.RemainingTime != 0 )
// return;
if( producing == null || producing.Item != order.TargetString || producing.RemainingTime != 0 )
return;
var building = self.World.CreateActor( order.TargetString, order.TargetLocation, order.Player );