aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorproller <proller@github.com>2013-08-03 03:02:59 +0400
committerproller <proller@github.com>2013-08-03 03:02:59 +0400
commit5e433fa913cc21d4d3c9ba1ef341c3c7aedc128c (patch)
tree1e5d0892658e5900f8c777f535d609a789bb905a /src
parent0b77588e87b0eeedd624eb0d6c2559aad10104ad (diff)
downloadminetest-5e433fa913cc21d4d3c9ba1ef341c3c7aedc128c.tar.gz
minetest-5e433fa913cc21d4d3c9ba1ef341c3c7aedc128c.tar.bz2
minetest-5e433fa913cc21d4d3c9ba1ef341c3c7aedc128c.zip
More info in serverlist
Diffstat (limited to 'src')
-rw-r--r--src/serverlist.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/serverlist.cpp b/src/serverlist.cpp
index 7a374eb47..bc09f6c0a 100644
--- a/src/serverlist.cpp
+++ b/src/serverlist.cpp
@@ -210,8 +210,6 @@ void sendAnnounce(std::string action, u16 clients, double uptime, std::string ga
server["url"] = g_settings->get("server_url");
server["creative"] = g_settings->get("creative_mode");
server["damage"] = g_settings->get("enable_damage");
- server["dedicated"] = g_settings->get("server_dedicated");
- server["rollback"] = g_settings->getBool("enable_rollback_recording");
server["password"] = g_settings->getBool("disallow_empty_password");
server["pvp"] = g_settings->getBool("enable_pvp");
server["clients"] = clients;
@@ -221,6 +219,10 @@ void sendAnnounce(std::string action, u16 clients, double uptime, std::string ga
}
if(server["action"] == "start") {
+ server["dedicated"] = g_settings->get("server_dedicated");
+ server["rollback"] = g_settings->getBool("enable_rollback_recording");
+ server["liquid_finite"] = g_settings->getBool("liquid_finite");
+ server["mapgen"] = g_settings->get("mg_name");
server["mods"] = Json::Value(Json::arrayValue);
for(std::vector<ModSpec>::iterator m = m_mods.begin(); m != m_mods.end(); m++) {
server["mods"].append(m->name);