changeset 113:5ebbffd4a05f

Re #54: Add Army support to WarFoundryFactory * Correct name of fetched attribute for game system in army file
author IBBoard <dev@ibboard.co.uk>
date Sat, 22 Aug 2009 18:22:40 +0000
parents 863518044d38
children a143b077a825
files api/Factories/Xml/WarFoundryXmlArmyFactory.cs
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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)