summaryrefslogtreecommitdiff
path: root/server.js
diff options
context:
space:
mode:
Diffstat (limited to 'server.js')
-rw-r--r--server.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/server.js b/server.js
index 343e46d..06cb7fe 100644
--- a/server.js
+++ b/server.js
@@ -1627,7 +1627,7 @@ io.on('connection', (socket) => {
if (title_id !== socket.title_id)
return socket.emit('error', "Invalid game ID.");
- let players = SQL_SELECT_PLAYERS.all(socket.game_id);
+ let players = SQL_SELECT_PLAYERS_JOIN.all(socket.game_id);
if (socket.role !== "Observer") {
let me;