Skip to content

Commit

Permalink
Add more checks for checkpoint saving
Browse files Browse the repository at this point in the history
  • Loading branch information
NyakoFox committed Oct 1, 2024
1 parent a0bd2f3 commit 33e810f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion desktop_version/src/Game.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -847,7 +847,7 @@ void Game::show_save_fail(void)

void Game::checkpoint_save(void)
{
if (checkpoint_saving && !inspecial())
if (checkpoint_saving && !inspecial() && (!map.custommode || (map.custommode && map.custommodeforreal)) && !cliplaytest)
{
bool success = map.custommode ? customsavequick(cl.ListOfMetaData[playcustomlevel].filename) : savequick();
gamesaved = success;
Expand Down

0 comments on commit 33e810f

Please sign in to comment.