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

@ -183,6 +183,7 @@ const Actions = ({
if (volcanoActive && (!isTurn || hasRolled)) { disableRoll = true; } if (volcanoActive && (!isTurn || hasRolled)) { disableRoll = true; }
if (volcanoActive && isTurn && turn && !turn.select) { disableRoll = false; } 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 - `, { console.log(`actions - `, {
disableRoll, robberActions, turn, inGame, isTurn, hasRolled, volcanoActive, inGameOrder, disableRoll, robberActions, turn, inGame, isTurn, hasRolled, volcanoActive, inGameOrder,