Bug fix for RPF explorer not exporting XML for YCDs

This commit is contained in:
dexy 2019-11-19 00:33:23 +11:00
parent 5a35688aed
commit 9c903c677b

View File

@ -56,6 +56,11 @@ namespace CodeWalker.GameFiles
YndFile ynd = RpfFile.GetFile<YndFile>(e, data); YndFile ynd = RpfFile.GetFile<YndFile>(e, data);
return GetXml(ynd, out filename); return GetXml(ynd, out filename);
} }
else if (fnl.EndsWith(".ycd"))
{
YcdFile ycd = RpfFile.GetFile<YcdFile>(e, data);
return GetXml(ycd, out filename);
}
filename = fn; filename = fn;
return string.Empty; return string.Empty;
} }