diff --git a/CodeWalker.Core/GameFiles/Resources/Frag.cs b/CodeWalker.Core/GameFiles/Resources/Frag.cs index 5d67de7..c909eec 100644 --- a/CodeWalker.Core/GameFiles/Resources/Frag.cs +++ b/CodeWalker.Core/GameFiles/Resources/Frag.cs @@ -910,6 +910,7 @@ namespace CodeWalker.GameFiles matinds.Add(id); mats.Add(mat); } + FragMatricesCount = (ushort)mats.Count; for (int i = mats.Count; i < cap; i++) { matinds.Add(0);