X-Git-Url: https://git.auder.net/?a=blobdiff_plain;f=variants%2FGiveaway%2Fclass.js;h=966583578961229dc984f9909904eeb9a16392a8;hb=10c9010b3b04915e132b6b3820f2f19c9ea6dcf0;hp=fd23954c5144de047eadc822deff4aec11816bfd;hpb=0cef7bb4f72046ce60db408bfb76103428e2c15a;p=xogo.git diff --git a/variants/Giveaway/class.js b/variants/Giveaway/class.js index fd23954..9665835 100644 --- a/variants/Giveaway/class.js +++ b/variants/Giveaway/class.js @@ -38,7 +38,10 @@ export default class GiveawayRules extends ChessRules { } genRandInitBaseFen() { - let setupOpts = {diffCol: ['b']}; + let setupOpts = { + randomness: this.options["randomness"], + diffCol: ['b'] + }; if (this.options["mode"] == "losers") { setupOpts["between"] = ['k', 'r']; setupOpts["flags"] = ['r'];