summaryrefslogtreecommitdiff
path: root/src/client/cl_main.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/client/cl_main.c')
-rw-r--r--src/client/cl_main.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/client/cl_main.c b/src/client/cl_main.c
index 2fe3151d..28d95739 100644
--- a/src/client/cl_main.c
+++ b/src/client/cl_main.c
@@ -509,7 +509,8 @@ void CL_PlayDemo_f( void ) {
}
// make sure a local server is killed
- Cvar_Set( "sv_killserver", "1" );
+ // 2 means don't force disconnect of local client
+ Cvar_Set( "sv_killserver", "2" );
CL_Disconnect( qtrue );