mirror of
https://github.com/KillzXGaming/Switch-Toolbox
synced 2024-11-22 04:23:09 +00:00
Skip texture maps if not present in pak
This commit is contained in:
parent
b6789443ce
commit
0a9520d1f2
1 changed files with 1 additions and 1 deletions
|
@ -139,7 +139,7 @@ namespace DKCTF
|
|||
foreach (var texMap in mat.Textures)
|
||||
{
|
||||
string guid = texMap.Value.FileID.ToString();
|
||||
if (texFolder.Nodes.ContainsKey(guid))
|
||||
if (texFolder.Nodes.ContainsKey(guid) || !Textures.ContainsKey(guid))
|
||||
continue;
|
||||
|
||||
if (Textures[guid].FileFormat == null)
|
||||
|
|
Loading…
Reference in a new issue