From 75e6bcf119724b1d3db26707da856e48802e59b4 Mon Sep 17 00:00:00 2001 From: tma Date: Fri, 23 Nov 2007 00:33:13 +0000 Subject: * (bug 3420) Don't respect sv_killserver unless a server is actually running * (bug 3431) USERINFO cvars created in cg_main not getting sent (arQon) git-svn-id: svn://svn.icculus.org/quake3/trunk@1216 edf5b092-35ff-0310-97b2-ce42778d08ea --- code/server/sv_init.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'code/server') diff --git a/code/server/sv_init.c b/code/server/sv_init.c index c941e7d..9284127 100644 --- a/code/server/sv_init.c +++ b/code/server/sv_init.c @@ -280,6 +280,11 @@ void SV_Startup( void ) { } svs.initialized = qtrue; + // Don't respect sv_killserver unless a server is actually running + if ( sv_killserver->integer ) { + Cvar_Set( "sv_killserver", "0" ); + } + Cvar_Set( "sv_running", "1" ); } -- cgit v1.2.3