mirror of
https://github.com/luanti-org/luanti.git
synced 2025-08-11 17:51:04 +00:00
Masterserver mods announse, ipv6, better curl errors
This commit is contained in:
parent
fc6725f14e
commit
ac7a44792c
10 changed files with 77 additions and 42 deletions
|
@ -1237,7 +1237,7 @@ void Server::AsyncRunStep()
|
|||
float &counter = m_masterserver_timer;
|
||||
if((!counter || counter >= 300.0) && g_settings->getBool("server_announce") == true)
|
||||
{
|
||||
ServerList::sendAnnounce(!counter ? "start" : "update", m_clients_number, m_uptime.get(), m_gamespec.id);
|
||||
ServerList::sendAnnounce(!counter ? "start" : "update", m_clients_number, m_uptime.get(), m_gamespec.id, m_mods);
|
||||
counter = 0.01;
|
||||
}
|
||||
counter += dtime;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue