summaryrefslogtreecommitdiff
path: root/src/server
diff options
context:
space:
mode:
authorTim Angus <tim@ngus.net>2007-11-28 01:29:19 +0000
committerTim Angus <tim@ngus.net>2007-11-28 01:29:19 +0000
commit8ae105ea923749d62c707160f87972182b00d42d (patch)
tree51abbd27a5fc57c0b593b83ead4d3871a017b91d /src/server
parentac0f597e31c7ef74796fb13f9c3a6336e315f202 (diff)
* Merge ioq3-r1220
Diffstat (limited to 'src/server')
-rw-r--r--src/server/sv_init.c5
1 files changed, 5 insertions, 0 deletions
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" );
}