Mercurial > repos > IBDev-IBBoard.WarFoundry.API.Tests
changeset 156:ae2f1db8290c
Fixes #353: Handle unloaded units being referenced outside factory
* Update final reference
author | IBBoard <dev@ibboard.co.uk> |
---|---|
date | Sat, 16 Jul 2011 19:59:33 +0000 |
parents | 3725fd449c77 |
children | 17c5030485dc |
files | API/Factories/Xml/SingleXmlObjectLoader.cs |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/API/Factories/Xml/SingleXmlObjectLoader.cs Mon Jul 04 20:03:47 2011 +0000 +++ b/API/Factories/Xml/SingleXmlObjectLoader.cs Sat Jul 16 19:59:33 2011 +0000 @@ -21,7 +21,7 @@ try { - return factory.GetRaceFactory().CreateRaceFromElement(CreateDocumentElementFromStream(stream)); + return factory.GetRaceFactory().CreateRace(CreateDocumentElementFromStream(stream)); } finally {