mirror of
https://github.com/luanti-org/luanti.git
synced 2025-08-11 17:51:04 +00:00
Deprecate game.conf name, use title instead (#12030)
This commit is contained in:
parent
dc45b85a54
commit
4e9e230e34
12 changed files with 90 additions and 31 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue