fix(serverlist): remove macro that stops the master from working
This commit is contained in:
parent
adee95a9de
commit
b6c1089b1a
@ -361,7 +361,6 @@ namespace Components
|
|||||||
{
|
{
|
||||||
Discovery::Perform();
|
Discovery::Perform();
|
||||||
}
|
}
|
||||||
#ifdef IW4_USE_MASTER_SERVER
|
|
||||||
else if (IsOnlineList())
|
else if (IsOnlineList())
|
||||||
{
|
{
|
||||||
const auto masterPort = (*Game::com_masterPort)->current.unsignedInt;
|
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
|
// TODO: Figure out what to do with this. Leave it to avoid breaking other code
|
||||||
RefreshContainer.host = Network::Address(std::format("{}:{}", masterServerName, masterPort));
|
RefreshContainer.host = Network::Address(std::format("{}:{}", masterServerName, masterPort));
|
||||||
}
|
}
|
||||||
#endif
|
|
||||||
else if (IsFavouriteList())
|
else if (IsFavouriteList())
|
||||||
{
|
{
|
||||||
LoadFavourties();
|
LoadFavourties();
|
||||||
|
Loading…
Reference in New Issue
Block a user