Skip to content

Commit 01a1567

Browse files
authored
Merge pull request #44 from diamante0018/develop
fix(serverlist): remove macro that stops the master from working
2 parents adee95a + b6c1089 commit 01a1567

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/Components/Modules/ServerList.cpp

-2
Original file line numberDiff line numberDiff line change
@@ -361,7 +361,6 @@ namespace Components
361361
{
362362
Discovery::Perform();
363363
}
364-
#ifdef IW4_USE_MASTER_SERVER
365364
else if (IsOnlineList())
366365
{
367366
const auto masterPort = (*Game::com_masterPort)->current.unsignedInt;
@@ -389,7 +388,6 @@ namespace Components
389388
// TODO: Figure out what to do with this. Leave it to avoid breaking other code
390389
RefreshContainer.host = Network::Address(std::format("{}:{}", masterServerName, masterPort));
391390
}
392-
#endif
393391
else if (IsFavouriteList())
394392
{
395393
LoadFavourties();

0 commit comments

Comments
 (0)