X-Git-Url: https://git.auder.net/?p=xogo.git;a=blobdiff_plain;f=variants%2FAlign4%2Fclass.js;h=ce5700d48bb74ef02fab141bfdb1aafe5f1197fb;hp=4c191db86d9a47b9c05cf885995ad00fd1636d1b;hb=eceb02f712e49d6c8b2fa90691c93161ca015248;hpb=4fd396b4d42189eae78583f332d845db9111a0fb 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: