Fix robber clip-path
Signed-off-by: James Ketrenos <james_eikona@ketrenos.com>
This commit is contained in:
parent
37467c7377
commit
eb0c9827aa
@ -109,7 +109,7 @@
|
|||||||
right: 0px;
|
right: 0px;
|
||||||
top: 0px;
|
top: 0px;
|
||||||
bottom: 0px;
|
bottom: 0px;
|
||||||
/* clip-path: circle(50%);*/
|
clip-path: circle(50%);
|
||||||
}
|
}
|
||||||
|
|
||||||
.Tile-Shape {
|
.Tile-Shape {
|
||||||
|
@ -898,7 +898,7 @@ router.put("/:id/:action/:value?", async (req, res) => {
|
|||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
const robber = parseInt(value);
|
const robber = parseInt(value ? value : 0);
|
||||||
if (game.robber === robber) {
|
if (game.robber === robber) {
|
||||||
error = `You must move the robber to a new location!`;
|
error = `You must move the robber to a new location!`;
|
||||||
break;
|
break;
|
||||||
@ -1156,6 +1156,8 @@ const sendGame = async (req, res, game, error) => {
|
|||||||
}
|
}
|
||||||
game.turn.limits.pips.push(i);
|
game.turn.limits.pips.push(i);
|
||||||
}
|
}
|
||||||
|
} else {
|
||||||
|
game.turn.actions = [];
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user