You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Issue description:
When i (accidentally) remove an element from the array im currently looping over in a for loop, it just breaks the loop.
Here imo it would be better to throw a warning in the editor. Especially for new-comers, as this is something you might tend to do when you are not that experienced.
The breaking of the loop for a new-comer is just behaviour that is hardly visible and difficult to find out without Debugging.
I know its a No-No in Programming to do that, but nothing is preventing you here from doing so.
Steps to reproduce:
Make array with elements
iterate over array,
delete element from array while looping
The text was updated successfully, but these errors were encountered:
Godot version:
3.1.1
OS/device including version:
Windows 10
Issue description:
When i (accidentally) remove an element from the array im currently looping over in a for loop, it just breaks the loop.
Here imo it would be better to throw a warning in the editor. Especially for new-comers, as this is something you might tend to do when you are not that experienced.
The breaking of the loop for a new-comer is just behaviour that is hardly visible and difficult to find out without Debugging.
I know its a No-No in Programming to do that, but nothing is preventing you here from doing so.
Steps to reproduce:
Make array with elements
iterate over array,
delete element from array while looping
The text was updated successfully, but these errors were encountered: