Save the command queue into an in-memory object. Persistence of the object is the game developers responsibility.