Fix bug with not deleting all children on folder delete

This commit is contained in:
Chandler Cox
2023-04-28 08:48:13 -05:00
parent 6aaa5832a8
commit 1978cb6df9

View File

@@ -655,7 +655,7 @@ namespace FlaxEditor.Modules
var children = folder.Children.ToArray(); var children = folder.Children.ToArray();
for (int i = 0; i < children.Length; i++) for (int i = 0; i < children.Length; i++)
{ {
Delete(children[0]); Delete(children[i]);
} }
} }