Small fix
This commit is contained in:
parent
3ef6162f04
commit
2e83156e46
@ -1144,11 +1144,6 @@ namespace party
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (download_files(target, info, false))
|
|
||||||
{
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
|
|
||||||
server_connection_state.motd = info.get("sv_motd");
|
server_connection_state.motd = info.get("sv_motd");
|
||||||
server_connection_state.max_clients = std::stoi(info.get("sv_maxclients"));
|
server_connection_state.max_clients = std::stoi(info.get("sv_maxclients"));
|
||||||
server_connection_state.base_url = info.get("sv_wwwBaseUrl");
|
server_connection_state.base_url = info.get("sv_wwwBaseUrl");
|
||||||
@ -1161,6 +1156,11 @@ namespace party
|
|||||||
server_discord_info.emplace(discord_info);
|
server_discord_info.emplace(discord_info);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (download_files(target, info, false))
|
||||||
|
{
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
connect_to_party(target, mapname, gametype);
|
connect_to_party(target, mapname, gametype);
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user