diff options
author | rubenwardy <rw@rubenwardy.com> | 2022-05-21 16:23:30 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-05-21 16:23:30 +0100 |
commit | 4e9e230e34912d08ec0f0fc01d14ef80654c7cac (patch) | |
tree | ae06c4fc9971808dd0a87d07aba702d8561b05ef /src/server.cpp | |
parent | dc45b85a543b4c8ad72f69a554ecfe7f0a60c533 (diff) | |
download | minetest-4e9e230e34912d08ec0f0fc01d14ef80654c7cac.tar.gz minetest-4e9e230e34912d08ec0f0fc01d14ef80654c7cac.tar.bz2 minetest-4e9e230e34912d08ec0f0fc01d14ef80654c7cac.zip |
Deprecate game.conf name, use title instead (#12030)
Diffstat (limited to 'src/server.cpp')
-rw-r--r-- | src/server.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/server.cpp b/src/server.cpp index d93f300d2..b6330c96a 100644 --- a/src/server.cpp +++ b/src/server.cpp @@ -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 |