From 205c64d4b179a6f612750049f8095dc19a1befa7 Mon Sep 17 00:00:00 2001 From: Rachael Alexanderson Date: Sun, 24 Dec 2017 20:48:51 -0500 Subject: [PATCH] - prevent level from exiting if no deathmatch starts are available in multiplayer --- src/g_game.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/g_game.cpp b/src/g_game.cpp index 0adfa2fc9..404484672 100644 --- a/src/g_game.cpp +++ b/src/g_game.cpp @@ -1772,7 +1772,7 @@ void G_DoReborn (int playernum, bool freshbot) } // spawn at random spot if in deathmatch - if (deathmatch || isUnfriendly) + if ((deathmatch || isUnfriendly) && (level.deathmatchstarts.Size () > 0)) { G_DeathMatchSpawnPlayer (playernum); return;