Keep your Phaser game state in sync with events.
Recent revisions are kept. Restoring one creates a new revision.