From 7c29bb862a523ff4b2bee312443fa59851375e45 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 cbc6b1cc..3aa19d08 100644 --- a/desktop_version/src/Game.cpp +++ b/desktop_version/src/Game.cpp @@ -4007,6 +4007,9 @@ void Game::deletestats(void) bestlives[i] = -1; bestrank[i] = -1; } + swnrecord = 0; + swnbestrank = 0; + bestgamedeaths = 0; #ifndef MAKEANDPLAY graphics.setflipmode = false; #endif