summaryrefslogtreecommitdiff
path: root/src/game.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/game.cpp')
-rw-r--r--src/game.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game.cpp b/src/game.cpp
index 44bb258bb..ca778a071 100644
--- a/src/game.cpp
+++ b/src/game.cpp
@@ -239,7 +239,7 @@ static void createGuiWindows()
if (config.getBoolValue("showChatHistory"))
localChatTab->loadFromLogFile("#General");
- if (Net::getServerFeatures()->haveLangTab()
+ if (serverFeatures->haveLangTab()
&& serverConfig.getValue("enableLangTab", 1))
{
const std::string lang = getLangShort();