From a50dad029101a2e7034d4931ab644adff4126cc8 Mon Sep 17 00:00:00 2001 From: codeimp Date: Wed, 25 Mar 2009 12:42:32 +0000 Subject: [PATCH] Re-enabled error checking when loading data resources --- Source/Data/DataManager.cs | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/Source/Data/DataManager.cs b/Source/Data/DataManager.cs index d2013494..4d6fa5f3 100644 --- a/Source/Data/DataManager.cs +++ b/Source/Data/DataManager.cs @@ -242,7 +242,7 @@ namespace CodeImp.DoomBuilder.Data // Make DataLocation.type of type Type and assign the // types of the desired reader classes. - //try + try { // Choose container type switch(dl.type) @@ -263,7 +263,6 @@ namespace CodeImp.DoomBuilder.Data break; } } - /* catch(Exception e) { // Unable to load resource @@ -272,7 +271,6 @@ namespace CodeImp.DoomBuilder.Data General.ShowErrorMessage("Unable to load resources from location \"" + dl.location + "\". Please make sure the location is accessible and not in use by another program.", MessageBoxButtons.OK); continue; } - */ // Add container if(c != null)