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"(|_|\__,_|\__,_|_| |_|\__|_|)",
|
||||
};
|
||||
|
||||
if (!m_admin_chat) {
|
||||
// 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),
|
||||
// so we skip it in that case.
|
||||
for (auto line : art)
|
||||
std::cerr << line << std::endl;
|
||||
for (size_t i = 0; i < ARRLEN(art); ++i)
|
||||
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 << "Server for gameid=\"" << m_gamespec.id
|
||||
<< "\" listening on ";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue