From 6cbd1b8bf739e0d776ee508708b5076b491fb638 Mon Sep 17 00:00:00 2001 From: proller Date: Tue, 3 Dec 2013 19:48:43 +0400 Subject: [PATCH] Remove link to #, add unlimited_player_transfer_distance to announce --- src/serverlist.cpp | 1 + util/master/servers.jst | 2 +- util/master/style.css | 5 +++++ 3 files changed, 7 insertions(+), 1 deletion(-) diff --git a/src/serverlist.cpp b/src/serverlist.cpp index f9e3c673..97a7b0bf 100644 --- a/src/serverlist.cpp +++ b/src/serverlist.cpp @@ -226,6 +226,7 @@ void sendAnnounce(std::string action, const std::vector & clients_n server["rollback"] = g_settings->getBool("enable_rollback_recording"); server["liquid_finite"] = g_settings->getBool("liquid_finite"); server["mapgen"] = g_settings->get("mg_name"); + server["names"] = g_settings->getBool("unlimited_player_transfer_distance"); server["mods"] = Json::Value(Json::arrayValue); for(std::vector::iterator m = mods.begin(); m != mods.end(); m++) { server["mods"].append(m->name); diff --git a/util/master/servers.jst b/util/master/servers.jst index 3db07d05..26cbd043 100644 --- a/util/master/servers.jst +++ b/util/master/servers.jst @@ -69,5 +69,5 @@ {{~}} {{? master.min_clients || master.limit}} - More... + More... {{?}} diff --git a/util/master/style.css b/util/master/style.css index 76a4f998..13bcf297 100644 --- a/util/master/style.css +++ b/util/master/style.css @@ -28,3 +28,8 @@ td:hover .mts_hover_list { text-decoration: underline; text-decoration-style: dashed; } + +.clickable { + text-decoration: underline; + cursor: pointer; +} \ No newline at end of file -- 2.30.2