diff --git a/client/src/Actions.js b/client/src/Actions.js
index 5e1510f..103939b 100644
--- a/client/src/Actions.js
+++ b/client/src/Actions.js
@@ -181,7 +181,7 @@ const Actions = ({
if (inGame && !isTurn) { disableRoll = true; }
if (inGame && hasRolled) { disableRoll = true; }
if (volcanoActive && (!isTurn || hasRolled)) { disableRoll = true; }
- if (volcanoActive && isTurn ) { disableRoll = false; }
+ if (volcanoActive && isTurn && turn && !turn.select) { disableRoll = false; }
if (inGameOrder && hasGameOrderRolled) { disableRoll = true; }
console.log(`actions - `, {
diff --git a/client/src/Activities.css b/client/src/Activities.css
index 784a9f3..ae623e6 100644
--- a/client/src/Activities.css
+++ b/client/src/Activities.css
@@ -1,9 +1,6 @@
.Activities {
display: flex;
flex-direction: column;
- position: absolute;
- left: 1em;
- top: 1em;
max-width: 30vw;
flex-wrap: wrap;
justify-content: left;
@@ -11,6 +8,7 @@
z-index: 1000;
max-height: 100vh;
pointer-events: none;
+ margin-bottom: 0.5rem;
}
.Activities .Resource {
diff --git a/client/src/Activities.js b/client/src/Activities.js
index c1de151..3c925e6 100644
--- a/client/src/Activities.js
+++ b/client/src/Activities.js
@@ -140,11 +140,12 @@ const Activities = () => {
placement = (state === 'initial-placement' || (turn && turn.active === 'road-building')),
placeRoad = placement && turn && turn.actions && turn.actions.indexOf('place-road') !== -1,
mustStealResource = turn && turn.actions && turn.actions.indexOf('steal-resource') !== -1,
- rollForVolcano = (isTurn && state === 'volcano' && turn && !turn.select),
+ rollForVolcano = (state === 'volcano' && turn && !turn.select),
rollForOrder = (state === 'game-order'),
selectResources = turn && turn.actions && turn.actions.indexOf('select-resources') !== -1;
-console.log(`activities - `, state, turn, activities);
+ console.log(`activities - `, state, turn, activities);
+
let discarders = [], mustDiscard = false;
for (let key in players) {
const player = players[key];
@@ -171,7 +172,7 @@ console.log(`activities - `, state, turn, activities);
name: color === key ? 'You' : players[key].name});
}
who = selecting.map((player, index) =>
- <>