Masterserver: Fix undefined players
parent
c91f8b1d25
commit
897c218b96
|
@ -1,7 +1,7 @@
|
||||||
{{? !master.no_total}}
|
{{? !master.no_total}}
|
||||||
<div class="total">
|
<div class="total">
|
||||||
Players: {{=it.total.clients}}/{{=it.total_max.clients}}
|
{{it.total_max && it.total_max.clients > 0}}Players: {{=it.total.clients}}/{{=it.total_max.clients}} {{?}}
|
||||||
Servers: {{=it.total.servers}}/{{=it.total_max.servers}}
|
{{it.total_max && it.total_max.servers > 0}}Servers: {{=it.total.servers}}/{{=it.total_max.servers}}{{?}}
|
||||||
</div>
|
</div>
|
||||||
{{?}}
|
{{?}}
|
||||||
<table>
|
<table>
|
||||||
|
|
Loading…
Reference in New Issue