]> git.cworth.org Git - empires-server/blobdiff - lmno.js
Fix admin interface to work once again
[empires-server] / lmno.js
diff --git a/lmno.js b/lmno.js
index b85041ec74d13be48abcbca9a5f7e3e8b900ba4e..db0d35b9cc3a55fef821f1b1d2f75a5c9aee868d 100644 (file)
--- a/lmno.js
+++ b/lmno.js
@@ -267,7 +267,7 @@ app.get('/admin/', auth_admin, (request, response) => {
   let idle = [];
 
   for (let id in lmno.games) {
-    if (lmno.games[id].clients.length)
+    if (lmno.games[id].players.length)
       active.push(lmno.games[id]);
     else
       idle.push(lmno.games[id]);