fix(serverlist): remove macro that stops the master from working

This commit is contained in:
Diavolo 2023-08-29 22:18:38 +02:00
parent adee95a9de
commit b6c1089b1a

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();