Fix #121 - disableRoll if placement is active
Signed-off-by: James Ketrenos <james_eikona@ketrenos.com>
This commit is contained in:
parent
d4028a17f3
commit
b21f29cec5
@ -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,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user