From 22d556f4be0e457057fe50ec45105a3cefe43e24 Mon Sep 17 00:00:00 2001 From: Misa Date: Sat, 11 Jul 2020 00:23:31 -0700 Subject: [PATCH] Disable "Game Saved" text box in custommode Also, use inspecial() instead of writing out each part of the conditional separately. This just basically adds the insecretlab conditional to the if-statement, which shouldn't be a big deal. --- desktop_version/src/Game.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/desktop_version/src/Game.cpp b/desktop_version/src/Game.cpp index 4c5a798f..32895734 100644 --- a/desktop_version/src/Game.cpp +++ b/desktop_version/src/Game.cpp @@ -1924,7 +1924,7 @@ void Game::updatestate() case 2000: //Game Saved! - if (intimetrial || nodeathmode || inintermission) + if (inspecial() || map.custommode) { state = 0; }