1
0

Fix victory point counter

Signed-off-by: James Ketrenos <james_git@ketrenos.com>
This commit is contained in:
James Ketr 2022-03-28 15:39:35 -07:00
parent 394b86e38f
commit 2dd3f927b0

View File

@ -2569,6 +2569,7 @@ const placeRoad = (game, session, index) => {
const getVictoryPointRule = (game) => {
const minVP = 10;
if (!('victory-points' in game.rules)
|| (!('points' in game.rules['victory-points']))
|| !game.rules['victory-points'].enabled) {
return minVP;
}