diff options
author | Tony J. White <tjw@tjw.org> | 2007-03-03 03:04:52 +0000 |
---|---|---|
committer | Tony J. White <tjw@tjw.org> | 2007-03-03 03:04:52 +0000 |
commit | 2ed4fa4812f961d203fdfde80629238177cb236c (patch) | |
tree | 0285b1c24be06d7e32f0ee5fb1d4a0039969a8f9 /src/game/g_admin.c | |
parent | c5de1709c4f2691713d2838f818555bfea46e3b0 (diff) |
* (bug 3008) track when map and map_restart commands are added to the command
buffer with level.restarted. This prevents G_RunFrame() from
running until the command is processed by the server code.
Diffstat (limited to 'src/game/g_admin.c')
-rw-r--r-- | src/game/g_admin.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/game/g_admin.c b/src/game/g_admin.c index 1af65c55..fbe8eb52 100644 --- a/src/game/g_admin.c +++ b/src/game/g_admin.c @@ -1938,6 +1938,7 @@ qboolean G_admin_map( gentity_t *ent, int skiparg ) } trap_SendConsoleCommand( EXEC_APPEND, va( "map %s", map ) ); + level.restarted = qtrue; AP( va( "print \"^3!map: ^7map '%s' started by %s %s\n\"", map, ( ent ) ? ent->client->pers.netname : "console", ( layout[ 0 ] ) ? va( "(forcing layout '%s')", layout ) : "" ) ); |