Mercurial > repos > snowblizz-super-API-ideas
diff API/Factories/Xml/WarFoundryXmlFactory.cs @ 378:ff7f1b319b4e
Re #353: Handle unloaded units being referenced outside factory
* Remove old named method and update references
author | IBBoard <dev@ibboard.co.uk> |
---|---|
date | Sat, 16 Jul 2011 19:59:04 +0000 |
parents | c3b0b28bad48 |
children |
line wrap: on
line diff
--- a/API/Factories/Xml/WarFoundryXmlFactory.cs Mon Jul 04 20:02:26 2011 +0000 +++ b/API/Factories/Xml/WarFoundryXmlFactory.cs Sat Jul 16 19:59:04 2011 +0000 @@ -139,7 +139,7 @@ { XmlElement elem = GetRootElementFromStream(dataStream, WarFoundryXmlElementName.RACE_ELEMENT); LogNotifier.Debug(GetType(), "Create Race"); - return raceFactory.CreateRaceFromElement(elem); + return raceFactory.CreateRace(elem); } protected override void CleanUpFileAsSupportedType(ZipFile typedFile)