# HG changeset patch # User IBBoard # Date 1250966103 0 # Node ID a143b077a8251f0d49b3045762659b82b3af0d84 # Parent 5ebbffd4a05f4e34362f87de3abca19291efa910 Re #54: Add Army support to WarFoundryFactory * Make sure that race and sub-race IDs are lower case so that we can find them when we load diff -r 5ebbffd4a05f -r a143b077a825 api/WarFoundryLoader.cs --- a/api/WarFoundryLoader.cs Sat Aug 22 18:22:40 2009 +0000 +++ b/api/WarFoundryLoader.cs Sat Aug 22 18:35:03 2009 +0000 @@ -720,8 +720,10 @@ Race race = null; systemID = systemID.ToLower(); + raceID = raceID.ToLower(); + raceSubID = raceSubID.ToLower(); - Dictionary> races; + Dictionary> races; racesTable.TryGetValue(systemID, out races); if (races!=null)