mirror of
https://github.com/luanti-org/luanti.git
synced 2025-08-01 17:38:41 +00:00
Masterserver mods fix
This commit is contained in:
parent
0a2de78da4
commit
a70993d6d2
2 changed files with 2 additions and 2 deletions
|
@ -51,7 +51,7 @@ function success(r) {
|
|||
h += '<td class="mts_clients">' + e(s.clients) + (s.clients_max ? '/' + e(s.clients_max) : '') + (s.clients_top ? ', ' + s.clients_top : '') + '</td>';
|
||||
var mods;
|
||||
if (s.mods && jQuery.isArray(s.mods)) {
|
||||
mods = 1;
|
||||
mods = s.mods.length;
|
||||
}
|
||||
h += '<td class="mts_version' + (mods ? ' mts_ismods' : '') + '">' + e(s.version) + ' ' + e(s.gameid);
|
||||
if (mods) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue