diff --git a/packages/server/services/Game.js b/packages/server/services/Game.js index bb6c612..20dcecc 100644 --- a/packages/server/services/Game.js +++ b/packages/server/services/Game.js @@ -266,11 +266,10 @@ const Game = ({ gameData = {}, gameRecord = [] } = {}) => { if (this.pass > 1) { return { ...this, success: false }; } - + if (x === 0) return game.submitPass(player); + let success = false; let game = this; - - if (x === 0) return game.submitPass(player); // if checkMove has not been run, determine legality if (!game.move) {