From 0c02a1511da4fa3b4b9dc3d2a6a0391e1aefa781 Mon Sep 17 00:00:00 2001 From: Andrew Date: Tue, 19 Sep 2023 20:31:56 -0400 Subject: [PATCH] Fix players not showing up --- app/frontend/templates/public/status.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/frontend/templates/public/status.html b/app/frontend/templates/public/status.html index 98d6a8c7..1190b9f8 100644 --- a/app/frontend/templates/public/status.html +++ b/app/frontend/templates/public/status.html @@ -192,7 +192,7 @@ /* TODO Update each element */ if (server.running) { /* Update Players */ - if (server.players) { + if (server.max != 0) { server_players.innerHTML = server.online + ` / ` + server.max + ` {{ translate('dashboard', 'max', data['lang']) }}
` }