1
0
Fork 0
mirror of https://github.com/TerryCavanagh/VVVVVV.git synced 2024-12-22 09:39:43 +01:00

Add more checks for checkpoint saving

This commit is contained in:
NyakoFox 2024-10-01 19:01:04 -03:00 committed by Misa Elizabeth Kai
parent a0bd2f3da4
commit c2642dbdef

View file

@ -847,7 +847,7 @@ void Game::show_save_fail(void)
void Game::checkpoint_save(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(); bool success = map.custommode ? customsavequick(cl.ListOfMetaData[playcustomlevel].filename) : savequick();
gamesaved = success; gamesaved = success;