diff --git a/src/g_game.c b/src/g_game.c index 283113bbeaec2a78b7756b6361d90e33764ec315..a10838888d116115ded52a5939925094a799920f 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.