Link to .capx file (required!):
mediafire.com/download/c2pva1vo43bxbfh/PickingBugWithFunctions.capx
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.
Observed result:
Sprites X are still found in the function even if they got destroyed just before. That doesn't happen outside the function.
Expected result:
I expected that all the sprite X would have been destroyed and none could be found in the next for each event.
Browsers affected:
Node-Toolkit
Operating system & service pack:
Windows 7 64 bits, service pack 1
Construct 2 version:
r152