From b6c1089b1a25f3f7691cfdd148cabb547be595f4 Mon Sep 17 00:00:00 2001 From: Diavolo Date: Tue, 29 Aug 2023 22:18:38 +0200 Subject: [PATCH] fix(serverlist): remove macro that stops the master from working --- src/Components/Modules/ServerList.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/Components/Modules/ServerList.cpp b/src/Components/Modules/ServerList.cpp index 3a8cce16..66fb86d1 100644 --- a/src/Components/Modules/ServerList.cpp +++ b/src/Components/Modules/ServerList.cpp @@ -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();