X-Git-Url: https://git.auder.net/?a=blobdiff_plain;f=variants%2FZen%2Fclass.js;h=5bb8c5252ecad54d30c07a22f55907d390997f60;hb=535c464b0543306a0ea36c66f07dcfad7a951efc;hp=f06dd1fc8bb672dc5234755a04af75506be3a54b;hpb=41534b92f0bcfc8ef5f58d8040706a5e7ce088c6;p=xogo.git diff --git a/variants/Zen/class.js b/variants/Zen/class.js index f06dd1f..5bb8c52 100644 --- a/variants/Zen/class.js +++ b/variants/Zen/class.js @@ -4,15 +4,15 @@ export default class ZenRules extends ChessRules { static get Options() { return { - select: ChessRules.Options.select, - check: ChessRules.Options.check, - styles: ChessRules.Options.styles.filter(s => s != "zen") + select: C.Options.select, + input: C.Options.input, + styles: C.Options.styles.filter(s => s != "zen") }; } constructor(o) { + o.options["zen"] = true; super(o); - o.options.zen = true; } };