mirror of
https://github.com/UberGames/ioef.git
synced 2024-11-24 13:11:30 +00:00
Remove small redundancy
This commit is contained in:
parent
f41b32a39a
commit
08ee31604a
1 changed files with 2 additions and 2 deletions
|
@ -3272,13 +3272,13 @@ void CL_GlobalServers_f( void ) {
|
||||||
// reset the list, waiting for response
|
// reset the list, waiting for response
|
||||||
// -1 is used to distinguish a "no response"
|
// -1 is used to distinguish a "no response"
|
||||||
|
|
||||||
if( cls.masterNum == 1 ) {
|
|
||||||
NET_StringToAdr( cl_master->string, &to );
|
NET_StringToAdr( cl_master->string, &to );
|
||||||
|
|
||||||
|
if( cls.masterNum == 1 ) {
|
||||||
cls.nummplayerservers = -1;
|
cls.nummplayerservers = -1;
|
||||||
cls.pingUpdateSource = AS_MPLAYER;
|
cls.pingUpdateSource = AS_MPLAYER;
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
NET_StringToAdr( cl_master->string, &to );
|
|
||||||
cls.numglobalservers = -1;
|
cls.numglobalservers = -1;
|
||||||
cls.pingUpdateSource = AS_GLOBAL;
|
cls.pingUpdateSource = AS_GLOBAL;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue