diff --git a/Assets/Cryville/Crtr/Components/SectionalGameObject.cs b/Assets/Cryville/Crtr/Components/SectionalGameObject.cs index f9d1196..65ef0c2 100644 --- a/Assets/Cryville/Crtr/Components/SectionalGameObject.cs +++ b/Assets/Cryville/Crtr/Components/SectionalGameObject.cs @@ -209,7 +209,7 @@ namespace Cryville.Crtr.Components { } void GenerateMeshTo(List verts, List uvs, out List tris, SpriteInfo info, ref int i, ref int t, ref float l, float startl, float endl, int vcpsec, int vend) { - if (i >= lengths.Count) { + if (i > lengths.Count) { tris = _indexPool.Rent(0); return; }