aboutsummaryrefslogtreecommitdiffstats
path: root/code/server/sv_main.c
diff options
context:
space:
mode:
Diffstat (limited to 'code/server/sv_main.c')
-rw-r--r--code/server/sv_main.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/code/server/sv_main.c b/code/server/sv_main.c
index 99a3b81..e0d6f01 100644
--- a/code/server/sv_main.c
+++ b/code/server/sv_main.c
@@ -808,13 +808,13 @@ void SV_Frame( int msec ) {
// 2giga-milliseconds = 23 days, so it won't be too often
if ( svs.time > 0x70000000 ) {
SV_Shutdown( "Restarting server due to time wrapping" );
- Cbuf_AddText( "vstr nextmap\n" );
+ Cbuf_AddText( va( "map %s\n", Cvar_VariableString( "mapname" ) ) );
return;
}
// this can happen considerably earlier when lots of clients play and the map doesn't change
if ( svs.nextSnapshotEntities >= 0x7FFFFFFE - svs.numSnapshotEntities ) {
SV_Shutdown( "Restarting server due to numSnapshotEntities wrapping" );
- Cbuf_AddText( "vstr nextmap\n" );
+ Cbuf_AddText( va( "map %s\n", Cvar_VariableString( "mapname" ) ) );
return;
}