From 791b981fd80cb23cee19d27170b347e10ce96ef1 Mon Sep 17 00:00:00 2001
From: katsy <katmint@live.com>
Date: Wed, 22 Sep 2021 16:22:47 -0500
Subject: [PATCH] null gamestate during pre-intermission to prevent unwanted
 interaction

---
 src/g_game.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/src/g_game.c b/src/g_game.c
index de1a774f40..e497aa13f8 100644
--- a/src/g_game.c
+++ b/src/g_game.c
@@ -3927,6 +3927,9 @@ static void G_DoCompleted(void)
 	if (metalrecording)
 		G_StopMetalRecording(false);
 
+	G_SetGamestate(GS_NULL);
+	wipegamestate = GS_NULL;
+
 	for (i = 0; i < MAXPLAYERS; i++)
 		if (playeringame[i])
 			G_PlayerFinishLevel(i); // take away cards and stuff
-- 
GitLab