(DigitalWorks): use ContainedFormats property.

This commit is contained in:
morkt 2018-09-27 18:21:52 +04:00
parent 270058d56c
commit 0d92e027a3

View File

@ -90,7 +90,7 @@ namespace GameRes.Formats.DigitalWorks
Offset = e.Offset,
Size = e.Size,
} as Entry).ToList();
dir.ForEach (e => e.Type = FormatCatalog.Instance.GetTypeFromName (e.Name));
dir.ForEach (e => e.Type = FormatCatalog.Instance.GetTypeFromName (e.Name, ContainedFormats));
return new ArcFile (file, this, dir);
}