Masterserver: Fix undefined players

stable-0.4
proller 2014-06-28 22:10:55 +04:00
parent c91f8b1d25
commit 897c218b96
1 changed files with 2 additions and 2 deletions

View File

@ -1,7 +1,7 @@
{{? !master.no_total}}
<div class="total">
Players: {{=it.total.clients}}/{{=it.total_max.clients}}&nbsp;
Servers: {{=it.total.servers}}/{{=it.total_max.servers}}
{{it.total_max && it.total_max.clients > 0}}Players: {{=it.total.clients}}/{{=it.total_max.clients}}&nbsp;{{?}}
{{it.total_max && it.total_max.servers > 0}}Servers: {{=it.total.servers}}/{{=it.total_max.servers}}{{?}}
</div>
{{?}}
<table>