mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-12-27 04:00:42 +00:00
- delete the "New savegame" node before starting work on the savegame.
This caused an off-by-one issue in the displayed list.
This commit is contained in:
parent
1daa346fdd
commit
c8e466c995
1 changed files with 1 additions and 0 deletions
|
@ -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];
|
||||
|
|
Loading…
Reference in a new issue