From 16f2f9f3067992d7263d25959cc2c1beb83eedcf Mon Sep 17 00:00:00 2001
From: Zippy_Zolton <zolton9996@gmail.com>
Date: Wed, 9 Dec 2020 21:57:11 -0600
Subject: [PATCH] wow!

---
 src/g_game.c | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/src/g_game.c b/src/g_game.c
index 283113bbe..a10838888 100644
--- a/src/g_game.c
+++ b/src/g_game.c
@@ -152,6 +152,7 @@ textprompt_t *textprompts[MAX_PROMPTS];
 
 INT16 nextmapoverride;
 UINT8 skipstats;
+UINT8 dontcomplete;
 
 // Pointers to each CTF flag
 mobj_t *redflag;
@@ -3204,8 +3205,11 @@ void G_ExitLevel(void)
 {
 	if (gamestate == GS_LEVEL)
 	{
-		gameaction = ga_completed;
 		lastdraw = true;
+		if not (dontcomplete)
+		{
+			gameaction = ga_completed;
+		}
 
 		// If you want your teams scrambled on map change, start the process now.
 		// The teams will scramble at the start of the next round.
-- 
GitLab