Fix victory point counter
Signed-off-by: James Ketrenos <james_git@ketrenos.com>
This commit is contained in:
parent
394b86e38f
commit
2dd3f927b0
@ -2569,6 +2569,7 @@ const placeRoad = (game, session, index) => {
|
|||||||
const getVictoryPointRule = (game) => {
|
const getVictoryPointRule = (game) => {
|
||||||
const minVP = 10;
|
const minVP = 10;
|
||||||
if (!('victory-points' in game.rules)
|
if (!('victory-points' in game.rules)
|
||||||
|
|| (!('points' in game.rules['victory-points']))
|
||||||
|| !game.rules['victory-points'].enabled) {
|
|| !game.rules['victory-points'].enabled) {
|
||||||
return minVP;
|
return minVP;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user