mirror of
https://git.do.srb2.org/STJr/UltimateZoneBuilder.git
synced 2025-01-18 22:41:46 +00:00
Re-enabled error checking when loading data resources
This commit is contained in:
parent
a7d8b45172
commit
a50dad0291
1 changed files with 1 additions and 3 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue