diff --git a/src/network/protocols/client_lobby.cpp b/src/network/protocols/client_lobby.cpp index 3206f3741..0dc1494fd 100644 --- a/src/network/protocols/client_lobby.cpp +++ b/src/network/protocols/client_lobby.cpp @@ -470,7 +470,8 @@ void ClientLobby::connectionAccepted(Event* event) //race_manager->setMajorMode(game_mode.second); //I18N: In the networking lobby - each_line = _("Game mode: %s", NetworkConfig::get()->getModeName(u_data)); + core::stringw mode_name = NetworkConfig::get()->getModeName(u_data); + each_line = _("Game mode: %s", mode_name); NetworkingLobby::getInstance()->addMoreServerInfo(each_line); uint8_t extra_server_info = data.getUInt8();