Ref T249, using FSC server as obfuscated server

Only show in local builds
This commit is contained in:
Klaus Basan
2018-02-11 07:17:51 +01:00
parent 3307560db9
commit 9009045dd0
5 changed files with 14 additions and 3 deletions

View File

@@ -147,7 +147,7 @@ namespace BlackGui
CServerList otherServers(m_otherTrafficNetworkServers.getThreadLocal());
// add a testserver when no servers can be loaded
if (otherServers.isEmpty() && (sGui->isDeveloperFlagSet() || CBuildConfig::isLocalDeveloperDebugBuild()))
if (otherServers.isEmpty() && CBuildConfig::isLocalDeveloperDebugBuild())
{
otherServers.push_back(sGui->getGlobalSetup().getFsdTestServersPlusHardcodedServers());
CLogMessage(this).info("Added servers for testing");

View File

@@ -60,7 +60,7 @@ namespace BlackGui
// add swift test servers in case we have no servers:
// this is debug/bootstrap feature we can continue to test when something goes wrong
if (serverList.isEmpty() && (sGui->isDeveloperFlagSet()))
if (serverList.isEmpty() && CBuildConfig::isLocalDeveloperDebugBuild())
{
serverList.push_back(sGui->getGlobalSetup().getFsdTestServersPlusHardcodedServers());
}