diff options
-rw-r--r-- | src/defaults.cpp | 1 | ||||
-rw-r--r-- | src/gui/windows/serverdialog.cpp | 3 |
2 files changed, 0 insertions, 4 deletions
diff --git a/src/defaults.cpp b/src/defaults.cpp index 34af5f039..3d4668e32 100644 --- a/src/defaults.cpp +++ b/src/defaults.cpp @@ -180,7 +180,6 @@ DefaultsData* getConfigDefaults() AddDEF("ScrollRadius", 0); AddDEF("ScrollCenterOffsetX", 0); AddDEF("ScrollCenterOffsetY", 0); - AddDEF("onlineServerList", ""); AddDEF("enableMumble", false); AddDEF("playBattleSound", true); AddDEF("playGuiSound", true); diff --git a/src/gui/windows/serverdialog.cpp b/src/gui/windows/serverdialog.cpp index a9542e74c..8afbf0e54 100644 --- a/src/gui/windows/serverdialog.cpp +++ b/src/gui/windows/serverdialog.cpp @@ -435,9 +435,6 @@ void ServerDialog::downloadServerList() // Try to load the configuration value for the onlineServerList std::string listFile = branding.getStringValue("onlineServerList"); - if (listFile.empty()) - listFile = config.getStringValue("onlineServerList"); - // Fall back to manaplus.org when neither branding // nor config set it if (listFile.empty()) |