From 8ae105ea923749d62c707160f87972182b00d42d Mon Sep 17 00:00:00 2001 From: Tim Angus Date: Wed, 28 Nov 2007 01:29:19 +0000 Subject: * Merge ioq3-r1220 --- src/server/sv_init.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/server') diff --git a/src/server/sv_init.c b/src/server/sv_init.c index 1496f776..4a7e292a 100644 --- a/src/server/sv_init.c +++ b/src/server/sv_init.c @@ -281,6 +281,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