diff --git a/server/routes/games.js b/server/routes/games.js index 207cc8d..bb4f73d 100755 --- a/server/routes/games.js +++ b/server/routes/games.js @@ -2573,7 +2573,7 @@ const getVictoryPointRule = (game) => { || !game.rules['victory-points'].enabled) { return minVP; } - return game.rules['victory-pionts'].points; + return game.rules['victory-points'].points; } const setRules = (game, session, rules) => { @@ -3429,7 +3429,7 @@ const calculatePoints = (game, update) => { || game.sessions[key].status === 'Not active') { continue; } - const message = `Wahoo! ${player.name} has ${player.points} ` + const message = `Wahoo! ${player.name} has ${player.points} ` + `points on their turn and has won!`; addChatMessage(game, null, message) console.log(`${info}: ${message}`);