Fix some compile warnings

This commit is contained in:
Paul Chote
2010-10-07 22:46:25 +13:00
parent 761f62292f
commit 7426d47cd5
4 changed files with 8 additions and 13 deletions

View File

@@ -64,11 +64,11 @@ namespace OpenRA.Mods.RA.Orders
public void Tick( World world )
{
// Find the queue with the target actor
var queue = Producer.TraitsImplementing<ProductionQueue>()
.Where(p => p.CurrentItem() != null &&
p.CurrentItem().Item == Building &&
p.CurrentItem().RemainingTime == 0)
.FirstOrDefault();
//var queue = Producer.TraitsImplementing<ProductionQueue>()
// .Where(p => p.CurrentItem() != null &&
// p.CurrentItem().Item == Building &&
// p.CurrentItem().RemainingTime == 0)
// .FirstOrDefault();
}
public void RenderAfterWorld( World world ) {}