]> git.lizzy.rs Git - dragonfireclient.git/blobdiff - src/server.cpp
Deprecate game.conf name, use title instead (#12030)
[dragonfireclient.git] / src / server.cpp
index d93f300d287f2152952e3e2252872b849eddd5d9..b6330c96a839705d0ce7b02dc8ecd413b8411aaa 100644 (file)
@@ -440,6 +440,7 @@ void Server::init()
 
        m_script->loadMod(getBuiltinLuaPath() + DIR_DELIM "init.lua", BUILTIN_MOD_NAME);
 
+       m_gamespec.checkAndLog();
        m_modmgr->loadMods(m_script);
 
        // Read Textures and calculate sha1 sums
@@ -3109,7 +3110,7 @@ std::string Server::getStatusString()
        // Version
        os << "version: " << g_version_string;
        // Game
-       os << " | game: " << (m_gamespec.name.empty() ? m_gamespec.id : m_gamespec.name);
+       os << " | game: " << (m_gamespec.title.empty() ? m_gamespec.id : m_gamespec.title);
        // Uptime
        os << " | uptime: " << duration_to_string((int) m_uptime_counter->get());
        // Max lag estimate