diff --git a/client/src/Board.css b/client/src/Board.css index 547531e..886e418 100644 --- a/client/src/Board.css +++ b/client/src/Board.css @@ -109,7 +109,7 @@ right: 0px; top: 0px; bottom: 0px; - /* clip-path: circle(50%);*/ + clip-path: circle(50%); } .Tile-Shape { diff --git a/server/routes/games.js b/server/routes/games.js index e539491..e93f20f 100755 --- a/server/routes/games.js +++ b/server/routes/games.js @@ -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 = []; } }