1
0
mirror of synced 2024-12-03 19:47:29 +01:00

Fix setting the texture map array when removing a texture

This commit is contained in:
KillzXGaming 2019-10-18 17:23:14 -04:00
parent 169a260946
commit b0b1355887

View File

@ -1842,9 +1842,10 @@ namespace LayoutBXLYT
if (TextureMaps[i].Name == name)
removeIndex = i;
}
if (removeIndex != -1)
{
TextureMaps.RemoveAt(removeIndex);
TextureMaps = TextureMaps.RemoveAt(removeIndex);
return true;
}