Mercurial > repos > snowblizz-super-API-ideas
changeset 192:2d0c4248a915
Re #198: Add slots with counts to units
* When loading files switch limit on LocalName not Name
no-open-ticket
author | IBBoard <dev@ibboard.co.uk> |
---|---|
date | Thu, 29 Oct 2009 20:54:10 +0000 |
parents | d63bef60bb51 |
children | 12aa4b76d24e |
files | api/Factories/Xml/WarFoundryXmlRaceFactory.cs |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- 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");