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 diff
     1.1 --- a/API/Factories/Xml/SingleXmlObjectLoader.cs	Mon Jul 04 20:03:47 2011 +0000
     1.2 +++ b/API/Factories/Xml/SingleXmlObjectLoader.cs	Sat Jul 16 19:59:33 2011 +0000
     1.3 @@ -21,7 +21,7 @@
     1.4  			
     1.5  			try
     1.6  			{
     1.7 -				return factory.GetRaceFactory().CreateRaceFromElement(CreateDocumentElementFromStream(stream));
     1.8 +				return factory.GetRaceFactory().CreateRace(CreateDocumentElementFromStream(stream));
     1.9  			}
    1.10  			finally
    1.11  			{