Skip to content

Commit

Permalink
tweak; save a bit of memory
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisforbes committed Mar 2, 2011
1 parent 0368005 commit 770dbce
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions OpenRA.Mods.RA/Player/ClassicProductionQueue.cs
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,9 @@ public override void Tick( Actor self )
.Any();

base.Tick(self);
}
ActorInfo[] None = new ActorInfo[]{};
}

static ActorInfo[] None = { };
public override IEnumerable<ActorInfo> AllItems()
{
return QueueActive ? base.AllItems() : None;
Expand Down

0 comments on commit 770dbce

Please sign in to comment.