Actor.Info is now never null

This commit is contained in:
Chris Forbes
2010-01-14 17:51:00 +13:00
parent a3ba286b06
commit ef59f3cb05
5 changed files with 5 additions and 7 deletions

View File

@@ -98,8 +98,7 @@ namespace OpenRa.Game.Graphics
public void GoToStartLocation()
{
Center(Game.world.Actors.Where(a => a.Info != null
&& a.traits.Contains<Selectable>() && a.Owner == Game.LocalPlayer));
Center(Game.world.Actors.Where(a => a.Owner == Game.LocalPlayer && a.traits.Contains<Selectable>()));
}
}
}