diff options
Diffstat (limited to 'gui')
-rw-r--r-- | gui/launcher.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gui/launcher.cpp b/gui/launcher.cpp index 17fdbaddbb..df73df9526 100644 --- a/gui/launcher.cpp +++ b/gui/launcher.cpp @@ -969,6 +969,8 @@ void LauncherDialog::loadGame(int item) { String filename = saveList[idx].filename(); printf("Deleting file: %s\n", filename.c_str()); saveFileMan->removeSavefile(filename.c_str()); + if ((saveList.size() - 1) == 0) + ConfMan.setInt("save_slot", -1); } // Load the savegame else { |