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

Reset some stats that weren't being reset in deletestats

This function now properly deletes the Super Gravitron record, the Super
Gravitron rank, and the best game deaths. They were not being properly
reset previously, meaning you would have to go into your save file to
properly clean out your save data.
This commit is contained in:
Misa 2021-09-10 18:02:52 -07:00
parent 74b7ce9d80
commit e3bfc79d4a

View file

@ -3986,6 +3986,9 @@ void Game::deletestats(void)
bestlives[i] = -1; bestlives[i] = -1;
bestrank[i] = -1; bestrank[i] = -1;
} }
swnrecord = 0;
swnbestrank = 0;
bestgamedeaths = 0;
#ifndef MAKEANDPLAY #ifndef MAKEANDPLAY
graphics.setflipmode = false; graphics.setflipmode = false;
#endif #endif