Browse Source

Relax stash failure classification

Treat a missing stash archive as an acceptable state when classifying save failures. This preserves the previous game save result instead of reporting no valid save when the player never created a stash.
pull/8497/head
morfidon 6 days ago
parent
commit
3a651763e3
  1. 2
      Source/loadsave.cpp

2
Source/loadsave.cpp

@ -77,7 +77,7 @@ bool ActiveSaveContainsStash()
{
auto archive = OpenStashArchive();
if (!archive)
return false;
return true;
const char *stashFileName = gbIsMultiplayer ? "mpstashitems" : "spstashitems";
return ReadArchive(*archive, stashFileName) != nullptr;

Loading…
Cancel
Save