Skip to content
Permalink
Browse files

Revert "client: don't drop in error when disconnecting from a demo"

This reverts commit 9caa17c.
  • Loading branch information
isRyven committed Jan 8, 2020
1 parent 6319f49 commit 06fdd43e89c105fb7d68ac35ba6263dc6bb5fd27
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/client/cl_main.c
@@ -827,7 +827,7 @@ void CL_Disconnect_f(void)
{
SCR_StopCinematic();

if (cls.state != CA_DISCONNECTED && cls.state != CA_CINEMATIC && !clc.demoplaying)
if (cls.state != CA_DISCONNECTED && cls.state != CA_CINEMATIC)
{
Com_Error(ERR_DISCONNECT, "Disconnected from server");
}

0 comments on commit 06fdd43

Please sign in to comment.
You can’t perform that action at this time.