mirror of
https://github.com/luanti-org/luanti.git
synced 2025-06-27 16:36:03 +00:00
Print Luanti version after ascii art
This commit is contained in:
parent
535d757563
commit
a2460df316
1 changed files with 5 additions and 3 deletions
|
@ -586,14 +586,16 @@ void Server::start()
|
||||||
R"(| | |_| | (_| | | | | |_| |)",
|
R"(| | |_| | (_| | | | | |_| |)",
|
||||||
R"(|_|\__,_|\__,_|_| |_|\__|_|)",
|
R"(|_|\__,_|\__,_|_| |_|\__|_|)",
|
||||||
};
|
};
|
||||||
|
|
||||||
if (!m_admin_chat) {
|
if (!m_admin_chat) {
|
||||||
// we're not printing to rawstream to avoid it showing up in the logs.
|
// we're not printing to rawstream to avoid it showing up in the logs.
|
||||||
// however it would then mess up the ncurses terminal (m_admin_chat),
|
// however it would then mess up the ncurses terminal (m_admin_chat),
|
||||||
// so we skip it in that case.
|
// so we skip it in that case.
|
||||||
for (auto line : art)
|
for (size_t i = 0; i < ARRLEN(art); ++i)
|
||||||
std::cerr << line << std::endl;
|
std::cerr << art[i] << (i == ARRLEN(art) - 1 ? "" : "\n");
|
||||||
|
// add a "tail" with the engine version
|
||||||
|
std::cerr << " ___ " << g_version_hash << std::endl;
|
||||||
}
|
}
|
||||||
|
|
||||||
actionstream << "World at [" << m_path_world << "]" << std::endl;
|
actionstream << "World at [" << m_path_world << "]" << std::endl;
|
||||||
actionstream << "Server for gameid=\"" << m_gamespec.id
|
actionstream << "Server for gameid=\"" << m_gamespec.id
|
||||||
<< "\" listening on ";
|
<< "\" listening on ";
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue