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

@@ -61,7 +61,7 @@ namespace OpenRa.Game
world = new World();
Game.world.ActorAdded += a =>
{
if (a.Owner != null && a.Info != null && a.Info.Traits.Contains<OwnedActorInfo>())
if (a.Owner != null && a.Info.Traits.Contains<OwnedActorInfo>())
a.Owner.Shroud.Explore(a);
};