diff --git a/js/network.js b/js/network.js index aef91dc..3088d36 100644 --- a/js/network.js +++ b/js/network.js @@ -52,7 +52,7 @@ class Network{ }) } - die(id){ + died(id){ this.socket.send(JSON.stringify({type:"died",data:{id: id}})); }