1
0

Fix robber clip-path

Signed-off-by: James Ketrenos <james_eikona@ketrenos.com>
This commit is contained in:
James Ketrenos 2022-02-10 18:23:27 -08:00
parent 37467c7377
commit eb0c9827aa
2 changed files with 4 additions and 2 deletions

View File

@ -109,7 +109,7 @@
right: 0px;
top: 0px;
bottom: 0px;
/* clip-path: circle(50%);*/
clip-path: circle(50%);
}
.Tile-Shape {

View File

@ -898,7 +898,7 @@ router.put("/:id/:action/:value?", async (req, res) => {
break;
}
}
const robber = parseInt(value);
const robber = parseInt(value ? value : 0);
if (game.robber === robber) {
error = `You must move the robber to a new location!`;
break;
@ -1156,6 +1156,8 @@ const sendGame = async (req, res, game, error) => {
}
game.turn.limits.pips.push(i);
}
} else {
game.turn.actions = [];
}
}