From e3bfc79d4a9e636b85aa4ed684931de1ef6f2eca Mon Sep 17 00:00:00 2001 From: Misa Date: Fri, 10 Sep 2021 18:02:52 -0700 Subject: [PATCH] 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. --- desktop_version/src/Game.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/desktop_version/src/Game.cpp b/desktop_version/src/Game.cpp index 561bc865..f04fdc6d 100644 --- a/desktop_version/src/Game.cpp +++ b/desktop_version/src/Game.cpp @@ -3986,6 +3986,9 @@ void Game::deletestats(void) bestlives[i] = -1; bestrank[i] = -1; } + swnrecord = 0; + swnbestrank = 0; + bestgamedeaths = 0; #ifndef MAKEANDPLAY graphics.setflipmode = false; #endif