diff options
Diffstat (limited to 'src/server/sv_ccmds.c')
-rw-r--r-- | src/server/sv_ccmds.c | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/src/server/sv_ccmds.c b/src/server/sv_ccmds.c index 0e016056..a89b0f21 100644 --- a/src/server/sv_ccmds.c +++ b/src/server/sv_ccmds.c @@ -210,7 +210,6 @@ static void SV_MapRestart_f( void ) { int i; client_t *client; char *denied; - qboolean isBot; int delay; // make sure we aren't restarting twice in the same frame @@ -290,17 +289,11 @@ static void SV_MapRestart_f( void ) { continue; } - if ( client->netchan.remoteAddress.type == NA_BOT ) { - isBot = qtrue; - } else { - isBot = qfalse; - } - // add the map_restart command SV_AddServerCommand( client, "map_restart\n" ); // connect the client again, without the firstTime flag - denied = VM_ExplicitArgPtr( gvm, VM_Call( gvm, GAME_CLIENT_CONNECT, i, qfalse, isBot ) ); + denied = VM_ExplicitArgPtr( gvm, VM_Call( gvm, GAME_CLIENT_CONNECT, i, qfalse ) ); if ( denied ) { // this generally shouldn't happen, because the client // was connected before the level change |