diff options
Diffstat (limited to 'code/server')
-rw-r--r-- | code/server/sv_main.c | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/code/server/sv_main.c b/code/server/sv_main.c index c2ae710..152ecbd 100644 --- a/code/server/sv_main.c +++ b/code/server/sv_main.c @@ -777,7 +777,15 @@ void SV_Frame( int msec ) { return; } - if ( !com_sv_running->integer ) { + if (!com_sv_running->integer) + { + if(com_dedicated->integer) + { + // Block indefinitely until something interesting happens + // on STDIN. + NET_Sleep(-1); + } + return; } |