mirror of
https://github.com/TerryCavanagh/VVVVVV.git
synced 2025-01-09 18:39:45 +01: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:
parent
047d71840b
commit
4f3df23e02
1 changed files with 4 additions and 4 deletions
|
@ -7190,7 +7190,7 @@ void Game::deletequick()
|
||||||
{
|
{
|
||||||
if( remove( "qsave.vvv" ) != 0 )
|
if( remove( "qsave.vvv" ) != 0 )
|
||||||
printf("Error deleting file\n");
|
printf("Error deleting file\n");
|
||||||
|
else
|
||||||
quicksummary = "";
|
quicksummary = "";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -7198,7 +7198,7 @@ void Game::deletetele()
|
||||||
{
|
{
|
||||||
if( remove( "tsave.vvv" ) != 0 )
|
if( remove( "tsave.vvv" ) != 0 )
|
||||||
printf("Error deleting file\n");
|
printf("Error deleting file\n");
|
||||||
|
else
|
||||||
telesummary = "";
|
telesummary = "";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue