Fix card multi-play
Signed-off-by: James Ketrenos <james_eikona@ketrenos.com>
This commit is contained in:
parent
8aae5480b8
commit
b9e6f9128f
@ -2345,7 +2345,7 @@ const playCard = (game, session, card) => {
|
||||
card = player.development.find(
|
||||
item => item.type == card.type
|
||||
&& item.card == card.card
|
||||
&& !card.played);
|
||||
&& !item.card.played);
|
||||
if (!card) {
|
||||
return `The card you want to play was not found in your hand!`;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user