From 4fc89979723785bab498683468a0d21d0c36ded4 Mon Sep 17 00:00:00 2001 From: Chris Forbes Date: Tue, 12 Jan 2010 20:01:30 +1300 Subject: [PATCH] oops. --- OpenRa.Game/Game.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/OpenRa.Game/Game.cs b/OpenRa.Game/Game.cs index 6de64ed586..0fa9eaf020 100644 --- a/OpenRa.Game/Game.cs +++ b/OpenRa.Game/Game.cs @@ -61,7 +61,7 @@ namespace OpenRa.Game world = new World(); Game.world.ActorAdded += a => { - if (a.Owner != null && a.Info.Traits.Contains()) + if (a.Owner != null && a.Info != null && a.Info.Traits.Contains()) a.Owner.Shroud.Explore(a); };