Fix robber discard for robots
Signed-off-by: James Ketrenos <james_eikona@ketrenos.com>
This commit is contained in:
parent
1916ad3509
commit
6740164c3a
@ -735,7 +735,7 @@ const message = async (data) => {
|
|||||||
if (!isMatch(waitingFor, received)) {
|
if (!isMatch(waitingFor, received)) {
|
||||||
console.log(`${name} - still waiting - waitingFor: `,
|
console.log(`${name} - still waiting - waitingFor: `,
|
||||||
waitingFor);
|
waitingFor);
|
||||||
if (game.robberInAction) {
|
if (game.turn && game.turn.robberInAction) {
|
||||||
console.log(`${name} - robber in action! Must check discards...`);
|
console.log(`${name} - robber in action! Must check discards...`);
|
||||||
} else {
|
} else {
|
||||||
return;
|
return;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user