1
0

Fix #121 - disableRoll if placement is active

Signed-off-by: James Ketrenos <james_eikona@ketrenos.com>
This commit is contained in:
James Ketrenos 2022-06-18 18:21:44 -07:00
parent d4028a17f3
commit b21f29cec5

View File

@ -182,7 +182,8 @@ const Actions = ({
if (inGame && hasRolled) { disableRoll = true; }
if (volcanoActive && (!isTurn || hasRolled)) { disableRoll = true; }
if (volcanoActive && isTurn && turn && !turn.select) { disableRoll = false; }
if (inGameOrder && hasGameOrderRolled) { disableRoll = true; }
if (inGameOrder && hasGameOrderRolled) { disableRoll = true; }
if (placement) { disableRoll = true; }
console.log(`actions - `, {
disableRoll, robberActions, turn, inGame, isTurn, hasRolled, volcanoActive, inGameOrder,