# HG changeset patch # User IBBoard # Date 1250965360 0 # Node ID 5ebbffd4a05f4e34362f87de3abca19291efa910 # Parent 863518044d38d8e36db8dbd767499a596c7724fe Re #54: Add Army support to WarFoundryFactory * Correct name of fetched attribute for game system in army file diff -r 863518044d38 -r 5ebbffd4a05f api/Factories/Xml/WarFoundryXmlArmyFactory.cs --- a/api/Factories/Xml/WarFoundryXmlArmyFactory.cs Sat Aug 22 18:18:20 2009 +0000 +++ b/api/Factories/Xml/WarFoundryXmlArmyFactory.cs Sat Aug 22 18:22:40 2009 +0000 @@ -18,7 +18,7 @@ public Army CreateArmyFromElement(ZipFile file, XmlElement elem) { string name = elem.GetAttribute("name"); - string systemID = elem.GetAttribute("gameSystem"); + string systemID = elem.GetAttribute("system"); GameSystem system = WarFoundryLoader.GetDefault().GetGameSystem(systemID); if (system == null)