Compare commits

...

1 commit

Author SHA1 Message Date
Sorrel
66731567ba
Revert "patch Game service" 2020-07-20 12:52:11 -04:00

View file

@ -266,11 +266,10 @@ const Game = ({ gameData = {}, gameRecord = [] } = {}) => {
if (this.pass > 1) { if (this.pass > 1) {
return { ...this, success: false }; return { ...this, success: false };
} }
if (x === 0) return game.submitPass(player);
let success = false; let success = false;
let game = this; let game = this;
if (x === 0) return game.submitPass(player);
// if checkMove has not been run, determine legality // if checkMove has not been run, determine legality
if (!game.move) { if (!game.move) {