In my game, I have an intro cutscene of sorts on its own layout. It uses some of the new lighting/shading stuff that was recently added to C2. I added an event for keystroke/mouse click to skip to the layout for level 1 which also uses shadows. The light sources that would have spawned if the intro had continued still get spawned after the level 1 layout loads and they're casting shadows on my objects.
Should I expect everything from the previous layout to be destroyed when I go to the new one, or do I need to add some logic to destroy objects and prevent the light sources from spawning if the intro was skipped?
What I'm doing is calling a function that spawns light sources with "wait x seconds" between each one, and the total run time of that function is about 30 seconds. Is it just trying to finish that function or something or does it really not destroy any of the old layout objects/events when changing?