diff options
Diffstat (limited to 'code/server/sv_ccmds.c')
-rw-r--r-- | code/server/sv_ccmds.c | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/code/server/sv_ccmds.c b/code/server/sv_ccmds.c index 03bd2c9..2d17ae9 100644 --- a/code/server/sv_ccmds.c +++ b/code/server/sv_ccmds.c @@ -272,8 +272,10 @@ static void SV_MapRestart_f( void ) { SV_RestartGameProgs(); // run a few frames to allow everything to settle - for ( i = 0 ;i < 3 ; i++ ) { - VM_Call( gvm, GAME_RUN_FRAME, svs.time ); + for (i = 0; i < 3; i++) + { + VM_Call (gvm, GAME_RUN_FRAME, sv.time); + sv.time += 100; svs.time += 100; } @@ -314,7 +316,8 @@ static void SV_MapRestart_f( void ) { } // run another frame to allow things to look at all the players - VM_Call( gvm, GAME_RUN_FRAME, svs.time ); + VM_Call (gvm, GAME_RUN_FRAME, sv.time); + sv.time += 100; svs.time += 100; } |