diff --git a/src/index.js b/src/index.js index caadcc2..31d4e09 100644 --- a/src/index.js +++ b/src/index.js @@ -86,7 +86,7 @@ io.on("connection", (socket) => { if (players[socket.id]) { socket.to(players[socket.id].room).emit("update", { uuid: socket.id, - controls: data + player: data }); } });