Link to .capx file (required!):
changeLayoutOnDestroy.capx
Steps to reproduce:
1. Press SPACE a few times to switch between layout 1 and 2.
Observed result:
Switching layout destroys all sprites on the layout 1, which calls their 'on destroyed' event, which then spawns new objects on layout 2.
Expected result:
Layout 2 should be empty, layout 1 should only have 4 visible sprites.
Browsers affected:
Chrome: yes
Firefox: yes
Internet Explorer: yes
Operating system & service pack: Win 7 Home Premium x64 - SP 1
Construct 2 version: r116