X-Git-Url: https://git.auder.net/images/pieces/%22%20%20%20VariantRules.getPpath%28board%5Bi%5D%5Bj%5D%29%20%20%20%22.svg?a=blobdiff_plain;f=variants%2FZen%2Fclass.js;h=5bb8c5252ecad54d30c07a22f55907d390997f60;hb=8f57fbf250093488064401d503f1c621b122e95a;hp=6d0420ad78e685434ef7aa2d186de7a0cbc07156;hpb=cc2c71836442d7495ec570f8f78c006ea60852e0;p=xogo.git diff --git a/variants/Zen/class.js b/variants/Zen/class.js index 6d0420a..5bb8c52 100644 --- a/variants/Zen/class.js +++ b/variants/Zen/class.js @@ -5,14 +5,14 @@ export default class ZenRules extends ChessRules { static get Options() { return { select: C.Options.select, - check: C.Options.check, + input: C.Options.input, styles: C.Options.styles.filter(s => s != "zen") }; } constructor(o) { + o.options["zen"] = true; super(o); - o.options.zen = true; } };