From 75fdb80b5048a561d51b9d7ff215d06364b21913 Mon Sep 17 00:00:00 2001 From: Rick Falkvinge Date: Fri, 12 Jun 2015 17:47:21 +0200 Subject: [PATCH] Dumbfix --- Logic/Structure/Geography.cs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Logic/Structure/Geography.cs b/Logic/Structure/Geography.cs index 871470d9..2d9eb809 100644 --- a/Logic/Structure/Geography.cs +++ b/Logic/Structure/Geography.cs @@ -140,7 +140,10 @@ namespace Swarmops.Logic.Structure foreach (Country country in countries) { - geoLookup[country.GeographyId] = country; + if (country.GeographyId != Geography.RootIdentity && country.GeographyId != 0) + { + geoLookup[country.GeographyId] = country; + } } Geography iterator = this;