(PSB): look for layers if textures not found.

This commit is contained in:
morkt 2017-02-06 03:20:12 +04:00
parent 08d0494a04
commit 605624bdc6

View File

@ -77,6 +77,8 @@ namespace GameRes.Formats.Emote
if (reader.Parse (key))
{
var dir = reader.GetTextures();
if (null == dir)
dir = reader.GetLayers();
if (null == dir || 0 == dir.Count)
return null;
return new ArcFile (file, this, dir);