diff --git a/util/master/list.js b/util/master/list.js index 2a831a26..59c12cd9 100644 --- a/util/master/list.js +++ b/util/master/list.js @@ -19,6 +19,7 @@ function humanTime(seconds) { return (seconds / conv[i]).toFixed(1) + i; } } + return seconds + 's'; } function escapeHTML(str) { diff --git a/util/master/servers.jst b/util/master/servers.jst index bf4a4bf5..3db07d05 100644 --- a/util/master/servers.jst +++ b/util/master/servers.jst @@ -7,7 +7,7 @@
IP[:Port] | {{?}} - {{? !master.no_clients}}Players/Max | {{?}} + {{? !master.no_clients}}Players/Max{{? !master.no_avgtop}} Avg/Top{{?}} | {{?}}
{{? !master.no_version}}Version, Gameid, MapGen | {{?}} {{? !master.no_name}}Name | {{?}} {{? !master.no_description}}Description | {{?}} @@ -25,7 +25,7 @@ {{?}} {{? !master.no_clients}}- {{=server.clients}}/{{=server.clients_max}} {{=server.clients_top}} + {{=server.clients}}/{{=server.clients_max}}{{? !master.no_avgtop}} {{=Math.floor(server.pop_v)}}/{{=server.clients_top}}{{?}} {{=hoverList("Clients", server.clients_list)}} | {{?}} {{? !master.no_version}}
---|