Permalink
Browse files

[MP] Fix multiple master (globalservers 0) support

  • Loading branch information...
ensiform authored and Razish committed Dec 6, 2017
1 parent 8b07e58 commit 4090e096070547f48828e8fb2ced74b05e1563f6
Showing with 2 additions and 2 deletions.
  1. +2 −2 codemp/client/cl_main.cpp
@@ -3339,12 +3339,12 @@ void CL_GlobalServers_f( void ) {
return;
}
Com_sprintf( command, sizeof(command), "sv_master%d", masterNum + 1 );
Com_sprintf( command, sizeof(command), "sv_master%d", masterNum );
masteraddress = Cvar_VariableString( command );
if ( !*masteraddress )
{
Com_Printf( "CL_GlobalServers_f: Error: No master server address given.\n" );
Com_Printf( "CL_GlobalServers_f: Error: No master server address given for %s.\n", command );
return;
}

0 comments on commit 4090e09

Please sign in to comment.