phone
This commit is contained in:
parent
862fee0cf3
commit
50a47fcf6d
1 changed files with 1 additions and 2 deletions
|
@ -122,7 +122,6 @@ function deletePlayer(socket){
|
||||||
}
|
}
|
||||||
|
|
||||||
function recievemessage(msg, socket){
|
function recievemessage(msg, socket){
|
||||||
console.log(msg, socket.id)
|
|
||||||
broadcast(JSON.stringify(msg), socket.id);
|
broadcast(JSON.stringify(msg), socket.id);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -168,7 +167,7 @@ wss.on('connection', (socket, req) => {
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}catch(e){
|
}catch(e){
|
||||||
console.log(e);
|
console.log('error');
|
||||||
}
|
}
|
||||||
|
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in a new issue