summaryrefslogtreecommitdiff
path: root/src/sv_main.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/sv_main.c')
-rw-r--r--src/sv_main.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/sv_main.c b/src/sv_main.c
index 9ede239..2517779 100644
--- a/src/sv_main.c
+++ b/src/sv_main.c
@@ -1622,6 +1622,11 @@ unsigned SV_Frame( unsigned msec ) {
// advance local server time
svs.realtime += msec;
+ if( Com_IsDedicated() ) {
+ // process console commands if not running a client
+ Cbuf_Execute( &cmd_buffer );
+ }
+
#if USE_MVD_CLIENT
// run connections to MVD/GTV servers
MVD_Frame();