X-Git-Url: https://git.auder.net/?a=blobdiff_plain;ds=inline;f=client%2Fsrc%2Fvariants%2FCoregal.js;h=2e4940709942f8856002fc0e79ad14b9177b5bdb;hb=2f9fcef3eb606c6389249c35393265de7d8f392f;hp=f0fc3801f5e31fd1e9349e0e3ab368d4cb4d8677;hpb=df3eb77c621201c0367dc00bbbafd0f6685980ef;p=vchess.git diff --git a/client/src/variants/Coregal.js b/client/src/variants/Coregal.js index f0fc3801..2e494070 100644 --- a/client/src/variants/Coregal.js +++ b/client/src/variants/Coregal.js @@ -4,7 +4,7 @@ import { randInt, sample } from "@/utils/alea"; export class CoregalRules extends ChessRules { static IsGoodPosition(position) { - if (!super.IsGoodPosition(position)) return false; + if (!ChessRules.IsGoodPosition(position)) return false; const rows = position.split("/"); // Check that at least one queen of each color is there: let queens = {};