summaryrefslogtreecommitdiff
path: root/src/heretic/d_net.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/heretic/d_net.c')
-rw-r--r--src/heretic/d_net.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/heretic/d_net.c b/src/heretic/d_net.c
index 73e9d996..440944eb 100644
--- a/src/heretic/d_net.c
+++ b/src/heretic/d_net.c
@@ -83,7 +83,7 @@ static void RunTic(ticcmd_t *cmds, boolean *ingame)
for (i = 0; i < MAXPLAYERS; ++i)
{
- if (playeringame[i] && !ingame[i])
+ if (!demoplayback && playeringame[i] && !ingame[i])
{
PlayerQuitGame(&players[i]);
}