added debug diagnostics.

This commit is contained in:
morkt 2018-09-07 15:51:54 +04:00
parent e096a407d3
commit 4a073ef878

View File

@ -162,7 +162,10 @@ namespace GameRes
else if ("script" == metadata.Type) else if ("script" == metadata.Type)
target_list = ScriptFormats; target_list = ScriptFormats;
else else
{
System.Diagnostics.Trace.WriteLine ("Unknown resource type specified", metadata.Extension);
continue; continue;
}
var ext = metadata.Extension; var ext = metadata.Extension;
var target = metadata.Target; var target = metadata.Target;
if (!string.IsNullOrEmpty (ext) && !string.IsNullOrEmpty (target)) if (!string.IsNullOrEmpty (ext) && !string.IsNullOrEmpty (target))