X-Git-Url: https://git.auder.net/?a=blobdiff_plain;f=client%2Fsrc%2Fvariants%2FAllmate2.js;fp=client%2Fsrc%2Fvariants%2FAllmate2.js;h=31d41befad47c3b4f701cc1b543980296b1f0b2f;hb=bb688df52df0713aba7b2c1c068614544f5ae96d;hp=424ff61bb73e394f79e0b852643507d6ef99a738;hpb=78c23cd6e4717d6d07c84177b515c6e03717da7e;p=vchess.git diff --git a/client/src/variants/Allmate2.js b/client/src/variants/Allmate2.js index 424ff61b..31d41bef 100644 --- a/client/src/variants/Allmate2.js +++ b/client/src/variants/Allmate2.js @@ -207,8 +207,7 @@ export class Allmate2Rules extends ChessRules { if (kp[0] < 0) // King disappeared return color == "w" ? "0-1" : "1-0"; - if (this.atLeastOneMove()) - return "*"; + if (this.atLeastOneMove()) return "*"; // Kings still there, no moves: return "1/2"; }