MovingBlocks / DestinationSol

Official continuation of Destination Sol, the great fun little arcade space shooter from http://sourceforge.net/projects/destinationsol/ Modules live at https://github.com/DestinationSol/
Apache License 2.0
326 stars 123 forks source link

Starting a tutorial overwrites main game save data #699

Open sasbot opened 7 months ago

sasbot commented 7 months ago

What you were trying to do

Had a game going, wanted to treat something out in in tutorial mode. Exited to menu, flew around, then exited to menu again and continued the saved game.

What actually happened

Position, inventory, even respawn location were replaced by those in the tutorial game.

How to reproduce

Play a normal game until your inventory is different from the tutorial's. Exit to menu, start turorial. Exit to menu, continue normal game.

Game version

2.1.0

Log details

No response

Operating System

Android

Additional Info

Seems like there is no distinction between 'game in progress' vs 'saved game' data, and thus the tutorial overwrites things.

BenjaminAmos commented 7 months ago

Thanks for reporting this!

The game is not supposed to save at all during the tutorial, so this is definitely a bug. The game normally autosaves upon certain actions or upon exit. From testing, it appears that autosaving is not being disabled during the tutorial.

Seems like there is no distinction between 'game in progress' vs 'saved game' data, and thus the tutorial overwrites things.

Currently the game only supports a single save file, so it is quite easy to overwrite an existing one by accident. Are you suggesting that the game should store the tutorial save data separately?