mirror of
https://github.com/KillzXGaming/Switch-Toolbox
synced 2024-11-10 07:04:36 +00:00
Fix setting the texture map array when removing a texture
This commit is contained in:
parent
169a260946
commit
b0b1355887
1 changed files with 2 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue