# HG changeset patch # User IBBoard # Date 1256849650 0 # Node ID 2d0c4248a91596cc625b2975e045a1dc50beb68a # Parent d63bef60bb51d0fd8f2136562896bf0040780e5b Re #198: Add slots with counts to units * When loading files switch limit on LocalName not Name no-open-ticket diff -r d63bef60bb51 -r 2d0c4248a915 api/Factories/Xml/WarFoundryXmlRaceFactory.cs --- a/api/Factories/Xml/WarFoundryXmlRaceFactory.cs Thu Oct 29 20:46:42 2009 +0000 +++ b/api/Factories/Xml/WarFoundryXmlRaceFactory.cs Thu Oct 29 20:54:10 2009 +0000 @@ -185,7 +185,7 @@ { AbstractLimit limit = null; - switch(limitElem.Name) + switch(limitElem.LocalName) { case "percentageLimit": double limitPercent = XmlTools.GetDoubleValueFromAttribute (limitElem, "limit");