From c8e466c9958d29aee01e5acd837a532524acd493 Mon Sep 17 00:00:00 2001 From: Christoph Oelckers Date: Mon, 19 Apr 2021 12:46:47 +0200 Subject: [PATCH] - delete the "New savegame" node before starting work on the savegame. This caused an off-by-one issue in the displayed list. --- source/common/menu/savegamemanager.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/source/common/menu/savegamemanager.cpp b/source/common/menu/savegamemanager.cpp index 935b6dedd..22dd8c6a3 100644 --- a/source/common/menu/savegamemanager.cpp +++ b/source/common/menu/savegamemanager.cpp @@ -232,6 +232,7 @@ DEFINE_ACTION_FUNCTION(FSavegameManager, LoadSavegame) void FSavegameManagerBase::DoSave(int Selected, const char *savegamestring) { + RemoveNewSaveNode(); if (Selected != 0) { auto node = SaveGames[Selected];