diff --git a/src/main/resources/static/javascript/game.js b/src/main/resources/static/javascript/game.js index 27c90e9..590120c 100644 --- a/src/main/resources/static/javascript/game.js +++ b/src/main/resources/static/javascript/game.js @@ -93,7 +93,7 @@ $(document).ready(function() { }; socket.onmessage = function(e) { - console.log('message', e.data); + //console.log('message', e.data); showMessage(JSON.parse(e.data)[1]); }; @@ -105,6 +105,7 @@ $(document).ready(function() { function showMessage(message) { console.log('GOT IT'); + console.log(message.body); switch(message.type) { case 'PlayersList': parsePlayersList(JSON.parse(message.body));