Fix broken first tick rendering in BuildPaletteWidget.

This commit is contained in:
Paul Chote
2011-01-20 00:51:13 +13:00
parent 1fb42f47b6
commit 2fca9b0b19
2 changed files with 98 additions and 100 deletions

View File

@@ -24,8 +24,8 @@ namespace OpenRA.Mods.RA
{
public ClassicProductionQueue( Actor self, ClassicProductionQueueInfo info )
: base(self, self, info as ProductionQueueInfo) {}
[Sync] bool QueueActive = true;
[Sync] bool QueueActive = false;
public override void Tick( Actor self )
{
QueueActive = self.World.Queries.OwnedBy[self.Owner].WithTrait<Production>()