Merge pull request #44 from diamante0018/develop

fix(serverlist): remove macro that stops the master from working
This commit is contained in:
Louve 2023-08-29 22:35:12 +02:00 committed by GitHub
commit 01a1567173
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -361,7 +361,6 @@ namespace Components
{
Discovery::Perform();
}
#ifdef IW4_USE_MASTER_SERVER
else if (IsOnlineList())
{
const auto masterPort = (*Game::com_masterPort)->current.unsignedInt;
@ -389,7 +388,6 @@ namespace Components
// TODO: Figure out what to do with this. Leave it to avoid breaking other code
RefreshContainer.host = Network::Address(std::format("{}:{}", masterServerName, masterPort));
}
#endif
else if (IsFavouriteList())
{
LoadFavourties();