Reset Attribute

I have an integer attribute called reset, and in my game, just before the scene is about to change, it changes its attribute to 1. this links on and on through a series of, when attribute game.reset=1, change attribute, so it basically resets the entire scene. Now this works until the second time I play the scene on the same gameplay, it's like none of the behaviors matter, how do I solve this?
Comments