This commit is contained in:
Chris Forbes
2010-01-12 20:01:30 +13:00
parent 3b6ccd7f88
commit 4fc8997972

View File

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