mirror of
https://github.com/luanti-org/luanti.git
synced 2025-07-02 16:38:41 +00:00
Add show_statusline_on_connect setting (#5084)
Add show_statusline_on_connect setting
This commit is contained in:
parent
bc29e03b59
commit
6d5a407133
4 changed files with 10 additions and 2 deletions
|
@ -1118,7 +1118,7 @@ PlayerSAO* Server::StageTwoClientInit(u16 peer_id)
|
|||
SendDeathscreen(peer_id, false, v3f(0,0,0));
|
||||
|
||||
// Note things in chat if not in simple singleplayer mode
|
||||
if(!m_simple_singleplayer_mode) {
|
||||
if (!m_simple_singleplayer_mode && g_settings->getBool("show_statusline_on_connect")) {
|
||||
// Send information about server to player in chat
|
||||
SendChatMessage(peer_id, getStatusString());
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue