mirror of
https://github.com/randyjc/Rahoot.git
synced 2026-03-13 20:15:35 +01:00
Fix EsLint config & update packages
This commit is contained in:
@@ -52,6 +52,7 @@ io.on("connection", (socket) => {
|
||||
|
||||
socket.on("disconnect", () => {
|
||||
console.log(`user disconnected ${socket.id}`)
|
||||
|
||||
if (gameState.manager === socket.id) {
|
||||
console.log("Reset game")
|
||||
io.to(gameState.room).emit("game:reset")
|
||||
|
||||
Reference in New Issue
Block a user