- prevent level from exiting if no deathmatch starts are available in multiplayer

This commit is contained in:
Rachael Alexanderson 2017-12-24 20:48:51 -05:00
parent 000037dbf6
commit 205c64d4b1

View file

@ -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;