summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/server/sv_init.c13
1 files changed, 8 insertions, 5 deletions
diff --git a/src/server/sv_init.c b/src/server/sv_init.c
index 71e5f717..30fd3936 100644
--- a/src/server/sv_init.c
+++ b/src/server/sv_init.c
@@ -452,11 +452,6 @@ void SV_SpawnServer( char *server, qboolean killBots ) {
// clear the whole hunk because we're (re)loading the server
Hunk_Clear();
-#ifndef DEDICATED
- // Restart renderer
- CL_StartHunkUsers( qtrue );
-#endif
-
// clear collision map data
CM_ClearMap();
@@ -608,6 +603,14 @@ void SV_SpawnServer( char *server, qboolean killBots ) {
Hunk_SetMark();
+#ifndef DEDICATED
+ if ( com_dedicated->integer ) {
+ // restart renderer in order to show console for dedicated servers
+ // launched through the regular binary
+ CL_StartHunkUsers( qtrue );
+ }
+#endif
+
Com_Printf ("-----------------------------------\n");
}