- fixed saving game to wrong save slot

This is a temporary solution as it makes GZDoom and Raze code bases incompatible

https://forum.zdoom.org/viewtopic.php?t=72085
This commit is contained in:
alexey.lysiuk 2021-04-26 09:46:20 +03:00
parent a2d3dbf74e
commit 8695325383
1 changed files with 0 additions and 1 deletions

View File

@ -232,7 +232,6 @@ DEFINE_ACTION_FUNCTION(FSavegameManager, LoadSavegame)
void FSavegameManagerBase::DoSave(int Selected, const char *savegamestring) void FSavegameManagerBase::DoSave(int Selected, const char *savegamestring)
{ {
RemoveNewSaveNode();
if (Selected != 0) if (Selected != 0)
{ {
auto node = SaveGames[Selected]; auto node = SaveGames[Selected];