From c2ef76fc0667243d4e1adb892e942fa983d580aa Mon Sep 17 00:00:00 2001 From: Misa Date: Mon, 20 Dec 2021 17:44:34 -0800 Subject: [PATCH] Fix in-game timer going away after playing Super Gravitron The problem was that it also needed to check that game.swnmode was true, in addition to game.swngame being 1, to actually check that the Super Gravitron was being played. --- desktop_version/src/Render.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/desktop_version/src/Render.cpp b/desktop_version/src/Render.cpp index 821ebf90..93b03c41 100644 --- a/desktop_version/src/Render.cpp +++ b/desktop_version/src/Render.cpp @@ -1741,7 +1741,7 @@ void gamerender(void) } } - if (graphics.fademode==0 && !game.intimetrial && !game.isingamecompletescreen() && game.swngame != 1 && game.showingametimer) + if (graphics.fademode==0 && !game.intimetrial && !game.isingamecompletescreen() && (!game.swnmode || game.swngame != 1) && game.showingametimer) { graphics.bprint(6, 6, "TIME:", 255,255,255); graphics.bprint(46, 6, game.timestring(), 196, 196, 196);