From 897c218b96e4eaebb0035c6aedb1585ddb5fb533 Mon Sep 17 00:00:00 2001 From: proller Date: Sat, 28 Jun 2014 22:10:55 +0400 Subject: [PATCH] Masterserver: Fix undefined players --- util/master/servers.jst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/util/master/servers.jst b/util/master/servers.jst index 54eea284..586e439c 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}}{{?}}
{{?}} -- 2.30.2