Maelstrom: Fixed crash if you quickly press return at the game over screen

From ab61be43e3fbeab19a057efd57d5c01c980c6ab1 Mon Sep 17 00:00:00 2001
From: Sam Lantinga <[EMAIL REDACTED]>
Date: Mon, 6 Apr 2026 20:48:42 -0700
Subject: [PATCH] Fixed crash if you quickly press return at the game over
 screen

---
 game/gameover.cpp | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/game/gameover.cpp b/game/gameover.cpp
index fd1ef6fd..a6f033b3 100644
--- a/game/gameover.cpp
+++ b/game/gameover.cpp
@@ -120,7 +120,7 @@ void GameOverPanelDelegate::OnShow()
 
 	/* -- See if they got a high score */
 	m_showIME = false;
-	m_handleLabel = NULL;
+	m_handleLabel = nullptr;
 	if (gReplay.IsRecording() && !gReplay.HasContinues() &&
 	    !gGameInfo.IsMultiplayer() && !gGameInfo.IsKidMode() &&
 	    (gGameInfo.wave == 1) && (gGameInfo.lives <= 3) &&
@@ -282,6 +282,7 @@ void GameOverPanelDelegate::FinishEnterName()
 		gReplay.Save();
 		LoadScores();
 	}
+	m_showIME = false;
 	m_handleLabel = nullptr;
 
 	sound->HaltSound();