Mercurial > repos > IBDev-IBBoard.WarFoundry.API
diff api/WarFoundryLoader.cs @ 8:613bc5eaac59
Re #9 - Make WarFoundry loading granular
* Remove specific staged loading classes
* Rework category loading for GameSystem and Race to make it use AddCategory(Category) method
* Promote staged loading from Native Factory to all Factories level
* Refactor XML Factory to use smaller methods
Also removed some commented code that isn't used any more
author | IBBoard <dev@ibboard.co.uk> |
---|---|
date | Sun, 04 Jan 2009 19:24:13 +0000 |
parents | b9346894319c |
children | 0770e5cbba7c |
line wrap: on
line diff
--- a/api/WarFoundryLoader.cs Sun Jan 04 13:12:55 2009 +0000 +++ b/api/WarFoundryLoader.cs Sun Jan 04 19:24:13 2009 +0000 @@ -461,13 +461,7 @@ LoadFiles(); } - systemID = systemID.ToLower(); - - foreach (string key in racesTable.Keys) - { - Console.WriteLine(key); - } - + systemID = systemID.ToLower(); Dictionary<string, Dictionary<string, Race>> system; racesTable.TryGetValue(systemID, out system);