mirror of
https://github.com/ZDoom/qzdoom.git
synced 2024-11-11 15:22:16 +00:00
- prevent level from exiting if no deathmatch starts are available in multiplayer
This commit is contained in:
parent
000037dbf6
commit
205c64d4b1
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue