diff api/Factories/Xml/WarFoundryXmlGameSystemFactory.cs @ 179:c1caf467dd40

Re #193: Unhandled exception in dictionary? * Make defaultStats attribute required by schema Also: * Remove some references to log notifier
author IBBoard <dev@ibboard.co.uk>
date Sat, 24 Oct 2009 15:00:36 +0000
parents 2f3cafb69799
children 08a9c960e17f 4e0031339bcb
line wrap: on
line diff
--- a/api/Factories/Xml/WarFoundryXmlGameSystemFactory.cs	Sat Oct 24 14:01:50 2009 +0000
+++ b/api/Factories/Xml/WarFoundryXmlGameSystemFactory.cs	Sat Oct 24 15:00:36 2009 +0000
@@ -4,9 +4,9 @@
 
 using System;
 using System.Collections.Generic;
+using System.IO;
 using System.Xml;
 using ICSharpCode.SharpZipLib.Zip;
-using IBBoard.Logging;
 using IBBoard.Xml;
 using IBBoard.WarFoundry.API.Objects;
 
@@ -61,10 +61,9 @@
 			XmlElement systemElement = WarFoundryXmlFactoryUtils.SelectSingleElement(extraData, "/system:system");
 			system.WarnOnError = XmlTools.GetBoolValueFromAttribute(systemElement, "warn");
 			system.AllowAllies = XmlTools.GetBoolValueFromAttribute(systemElement, "allowAllies");
-			LogNotifier.DebugFormat(GetType(), "Completed loading of GameSystem with ID {0}", system.ID);
-			LogNotifier.DebugFormat(GetType(), "GameSystem with ID {0} default stats: {1}", system.ID, system.StandardSystemStatsID);
 			system.SetAsFullyLoaded();
 		}
+
 		
 		private void LoadCategoriesForSystem(GameSystem system, XmlNode elem)
 		{