savegame: Save and restore max number of game objects in save game