mirror of
https://github.com/TerryCavanagh/VVVVVV.git
synced 2026-02-03 15:55:30 +03: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:
@@ -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 = "";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user