mirror of
https://github.com/TerryCavanagh/VVVVVV.git
synced 2025-01-24 09:49:46 +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,16 +7190,16 @@ 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 = "";
|
||||||
}
|
}
|
||||||
|
|
||||||
void Game::deletetele()
|
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 = "";
|
||||||
}
|
}
|
||||||
|
|
||||||
void Game::swnpenalty()
|
void Game::swnpenalty()
|
||||||
|
|
Loading…
Add table
Reference in a new issue