Link to .capx file (required!):
Steps to reproduce:
1. Add event picking all sprite X or for each sprite X in a function that destroy found sprite X. That should destroy all the sprites X.
2. Add an event after that tell to loop that sprite X with a for each. Normally none should be found since they got destroyed.. but they are still found.
Sprites X are still found in the function even if they got destroyed just before. That doesn't happen outside the function.
I expected that all the sprite X would have been destroyed and none could be found in the next for each event.
Operating system & service pack:
Windows 7 64 bits, service pack 1
Construct 2 version: