Fix #52 - do not count played cards as "potential"
Signed-off-by: James Ketrenos <james_eikona@ketrenos.com>
This commit is contained in:
parent
6361074703
commit
0cb80d7ece
@ -2634,9 +2634,10 @@ const sendGame = async (req, res, game, error) => {
|
||||
player.potential = 0;
|
||||
player.development.forEach(card => {
|
||||
if (card.type === 'vp') {
|
||||
player.potential++;
|
||||
if (card.played) {
|
||||
player.points++;
|
||||
} else {
|
||||
player.potential++;
|
||||
}
|
||||
}
|
||||
if (!card.played) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user