X-Git-Url: https://git.auder.net/?a=blobdiff_plain;f=variants%2FAlign4%2Fclass.js;h=ce5700d48bb74ef02fab141bfdb1aafe5f1197fb;hb=eceb02f712e49d6c8b2fa90691c93161ca015248;hp=4c191db86d9a47b9c05cf885995ad00fd1636d1b;hpb=f31de5e46015a93dca20765da61670035ce8f491;p=xogo.git diff --git a/variants/Align4/class.js b/variants/Align4/class.js index 4c191db..ce5700d 100644 --- a/variants/Align4/class.js +++ b/variants/Align4/class.js @@ -42,8 +42,8 @@ export default class Align4Rules extends ChessRules { // Just do not update any reserve (infinite supply) updateReserve() {} - getCurrentScore(move) { - const score = super.getCurrentScore(move); + getCurrentScore(move_s) { + const score = super.getCurrentScore(move_s); if (score != "*") return score; // Check pawns connection: