Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -712,6 +712,9 @@ SaveCode GameState::loadGame( AvailableGameInfo gameInfo )
TheGameLogic->clearGameData( FALSE );
TheGameEngine->reset();

// TheSuperHackers @bugfix bobtista 11/10/2026 Prevent a failed save load from leaving the quit menu disabled.
TheGameLogic->setLoadingSave( FALSE );

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just wondering, does it matter if this is done before or after the other stuff in this branch?

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No it doesn't matter. Only the quit menu checks this flag, and clearGameData and the engine reset do not read or change it.


return SC_INVALID_DATA; // you can't use a naked "throw" outside of a catch statement!

}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -712,6 +712,9 @@ SaveCode GameState::loadGame( AvailableGameInfo gameInfo )
TheGameLogic->clearGameData( FALSE );
TheGameEngine->reset();

// TheSuperHackers @bugfix bobtista 11/10/2026 Prevent a failed save load from leaving the quit menu disabled.
TheGameLogic->setLoadingSave( FALSE );

return SC_INVALID_DATA; // you can't use a naked "throw" outside of a catch statement!

}
Expand Down
Loading