1
0
mirror of https://github.com/TerryCavanagh/VVVVVV.git synced 2024-06-01 02:23:32 +02:00

Don't clear telesummary/quicksummary if delete unsuccessful

Otherwise the game will think the saves are gone even though they still
exist.
This commit is contained in:
Misa 2020-04-26 13:15:38 -07:00 committed by Ethan Lee
parent 047d71840b
commit 4f3df23e02

View File

@ -7190,16 +7190,16 @@ void Game::deletequick()
{
if( remove( "qsave.vvv" ) != 0 )
printf("Error deleting file\n");
quicksummary = "";
else
quicksummary = "";
}
void Game::deletetele()
{
if( remove( "tsave.vvv" ) != 0 )
printf("Error deleting file\n");
telesummary = "";
else
telesummary = "";
}
void Game::swnpenalty()