diff options
author | proller <proler@github.com> | 2013-12-03 20:13:33 +0400 |
---|---|---|
committer | proller <proler@github.com> | 2013-12-03 20:14:06 +0400 |
commit | 1309e52198e04a50d322914fb4d5667e6760b3af (patch) | |
tree | 613989b19b5759a0050009ca491a32968dae78ca | |
parent | 5004f31575c52b59e1fc654dfa08336a692afeee (diff) | |
download | minetest-1309e52198e04a50d322914fb4d5667e6760b3af.tar.gz minetest-1309e52198e04a50d322914fb4d5667e6760b3af.tar.bz2 minetest-1309e52198e04a50d322914fb4d5667e6760b3af.zip |
Rename names -> can_see_far_names in announce
-rw-r--r-- | src/serverlist.cpp | 2 | ||||
-rw-r--r-- | util/master/servers.jst | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/src/serverlist.cpp b/src/serverlist.cpp index 97a7b0bf7..7376bce99 100644 --- a/src/serverlist.cpp +++ b/src/serverlist.cpp @@ -226,7 +226,7 @@ void sendAnnounce(std::string action, const std::vector<std::string> & 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["can_see_far_names"] = g_settings->getBool("unlimited_player_transfer_distance"); server["mods"] = Json::Value(Json::arrayValue); for(std::vector<ModSpec>::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 26cbd0434..48116133a 100644 --- a/util/master/servers.jst +++ b/util/master/servers.jst @@ -56,6 +56,7 @@ {{=server.pvp ? 'PvP ' : ''}} {{=server.password ? 'Pwd ' : ''}} {{=server.rollback ? 'Rol ' : ''}} + {{=server.can_see_far_names ? 'Far ' : ''}} </td>{{?}} {{? !master.no_uptime}} <td class="uptime"> |