Commit 9ff5a83c authored by 18신대성's avatar 18신대성 Committed by 18류지석

서버 터지는거 로그띄우게함

parent e0cba657
......@@ -91,7 +91,7 @@ io.on('connection', function(socket)
{
let data = socket.playerData;
console.log('['+ data.id +'] client disconnected, reason: ' + reason);
if (data.id === undefined)
if (typeof data.id === undefined)
{
console.log('[ERROR] data.id is undefined');
console.log(GameServer.currentPlayer);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment