hi
I’m iterating through a table of objects and a lot of stuff happens to each object (moving around, hit tests etc)
for i, val in pairs(objTable) do
-- a lot of stuff happens
end
sometimes an error appears at that line:
Runtime error
invalid key to 'next'
stack traceback:
[C]: ?
[C]: in function '(for generator)'
my guess is, that an object is removed while the for loop tries to access it… 
but what exactly does that message mean? and how can I prevent it?
-finefin
[import]uid: 70635 topic_id: 31034 reply_id: 331034[/import]