(ArcNEKO): MNG files are recognized by DetectFileType.

This commit is contained in:
morkt 2018-01-21 11:51:34 +04:00
parent 7031f56eb0
commit e38644bab4

View File

@ -157,8 +157,6 @@ namespace GameRes.Formats.Neko
var res = AutoEntry.DetectFileType (signature);
if (res != null)
entry.ChangeType (res);
else if (0x474E4D8A == signature)
entry.Name = Path.ChangeExtension (entry.Name, "mng");
else if (entry.Name.StartsWith ("script/"))
entry.Type = "script";
}