diff --git a/src/core/index.js b/src/core/index.js index c545e40..8dbf88d 100644 --- a/src/core/index.js +++ b/src/core/index.js @@ -32,7 +32,7 @@ export function updateFrame(grid, players, dead, notifyKill) { for (let j = i; j < players.length; j++) { //Remove those players when other players have hit their tail - if (!removing[j] && players[j].tail.hitsTail(players[i])) { + /*if (!removing[j] && players[j].tail.hitsTail(players[i])) { kill(i, j); removing[j] = true; //console.log("TAIL"); @@ -41,7 +41,7 @@ export function updateFrame(grid, players, dead, notifyKill) { kill(j, i); removing[i] = true; //console.log("TAIL"); - } + }*/ //Remove players with collisons... if (i !== j && squaresIntersect(players[i].posX, players[j].posX) &&