Remove debug logs
This commit is contained in:
@@ -158,9 +158,6 @@
|
||||
i = mHouse[0];
|
||||
j = mHouse[1];
|
||||
if (ready && board) {
|
||||
console.log(turn);
|
||||
console.log(color);
|
||||
console.log(selected);
|
||||
if (board[j][i] !== "E" && (board[j][i] === board[j][i].toUpperCase() ? 0 : 1) === color && turn == color) {
|
||||
|
||||
selected = [i, j];
|
||||
@@ -185,7 +182,6 @@
|
||||
moves.forEach(move => {
|
||||
console.log(move);
|
||||
if (move[0] == i && move[1] == j) {
|
||||
console.log("YAY");
|
||||
fetch('{{ API_ROOT }}/move/' + ROOM_ID, {
|
||||
method: 'POST',
|
||||
headers: {
|
||||
|
||||
Reference in New Issue
Block a user