From 897c218b96e4eaebb0035c6aedb1585ddb5fb533 Mon Sep 17 00:00:00 2001 From: proller Date: Sat, 28 Jun 2014 22:10:55 +0400 Subject: Masterserver: Fix undefined players --- util/master/servers.jst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'util') diff --git a/util/master/servers.jst b/util/master/servers.jst index 54eea2842..586e439cf 100644 --- a/util/master/servers.jst +++ b/util/master/servers.jst @@ -1,7 +1,7 @@ {{? !master.no_total}}
- Players: {{=it.total.clients}}/{{=it.total_max.clients}}  - Servers: {{=it.total.servers}}/{{=it.total_max.servers}} + {{it.total_max && it.total_max.clients > 0}}Players: {{=it.total.clients}}/{{=it.total_max.clients}} {{?}} + {{it.total_max && it.total_max.servers > 0}}Servers: {{=it.total.servers}}/{{=it.total_max.servers}}{{?}}
{{?}} -- cgit v1.2.3