discourage use of backup system for auto-save

This commit is contained in:
tildearrow 2023-10-28 14:49:20 -05:00
parent 18e2ecd030
commit 686a9de143
2 changed files with 4 additions and 0 deletions

View file

@ -49,6 +49,7 @@ items in _italic_ don't appear in basic mode and are only available in advanced
- macOS: `~/Library/Application Support/Furnace/backups` - macOS: `~/Library/Application Support/Furnace/backups`
- Linux/other: `~/.config/furnace/backups` - Linux/other: `~/.config/furnace/backups`
- this directory grows in size as you use Furnace. remember to delete old backups periodically to save space. - this directory grows in size as you use Furnace. remember to delete old backups periodically to save space.
- **do NOT rely on the backup system as auto-save!** you should save a restored backup because Furnace will not save backups of backups.
- **exit**: closes Furnace. - **exit**: closes Furnace.

View file

@ -2237,6 +2237,9 @@ int FurnaceGUI::load(String path) {
if (settings.playOnLoad==2 || (settings.playOnLoad==1 && wasPlaying)) { if (settings.playOnLoad==2 || (settings.playOnLoad==1 && wasPlaying)) {
play(); play();
} }
} else {
// warn the user
showWarning("you have loaded a backup!\nif you need to, please save it somewhere.\n\nDO NOT RELY ON THE BACKUP SYSTEM FOR AUTO-SAVE!\nFurnace will not save backups of backups.",GUI_WARN_GENERIC);
} }
return 0; return 0;
} }