I would think it has something to do with removing the link of the current object in the list before the For loop has a chance to get the next value.
I don't know if that's the problem for sure but this works
I don't know if that's the problem for sure but this works
global list:TList for i = 1 to list.Count() list.RemoveLast() next or while (not list.IsEmpty()) list.RemoveLast() wend