could be a bug. replay mechanic.

I’m trying to make a replay mechanic in this basketball game I made, but it’s not doing the exact same thing. It’s doing something very similar but not the same. Press “R” if you want to replay. Game: http://flowlab.io/game/view/1340832