X-Git-Url: https://git.auder.net/?a=blobdiff_plain;f=client%2Fsrc%2Fvariants%2FMonochrome.js;h=22242ed296686110a0267c1045f9ab9266ef4f10;hb=ded43c88fad60fd8f9bb46aabd67f3f2092f65f3;hp=2d5a912f577319f9ddfeb8070570606fa44e4967;hpb=306dab5f2087a35669a114587c0415b31145665b;p=vchess.git diff --git a/client/src/variants/Monochrome.js b/client/src/variants/Monochrome.js index 2d5a912f..22242ed2 100644 --- a/client/src/variants/Monochrome.js +++ b/client/src/variants/Monochrome.js @@ -1,6 +1,7 @@ import { ChessRules } from "@/base_rules"; export class MonochromeRules extends ChessRules { + static get HasEnpassant() { // Pawns would be on the same side return false; @@ -217,4 +218,5 @@ export class MonochromeRules extends ChessRules { } return notation; } + };