X-Git-Url: https://git.auder.net/?a=blobdiff_plain;f=variants%2FGiveaway%2Fclass.js;fp=variants%2FGiveaway%2Fclass.js;h=3f27e5f59fd7608cf7a96ea05b54159a1436d13c;hb=9aebe2aac02158a4f1c92ad0ac529f8ed245602e;hp=39f586c1b0f3ff679e153a3a57510df96bba4d76;hpb=33b427488bb6ee5c505c3a024bccedbef763f80e;p=xogo.git diff --git a/variants/Giveaway/class.js b/variants/Giveaway/class.js index 39f586c..3f27e5f 100644 --- a/variants/Giveaway/class.js +++ b/variants/Giveaway/class.js @@ -80,10 +80,10 @@ export default class GiveawayRules extends ChessRules { super(o); } - underCheck(square, oppCol) { + underCheck(square_s, oppCol) { if (this.options["mode"] == "suicide") return false; - return super.underCheck(square, oppCol); + return super.underCheck(square_s, oppCol); } getCurrentScore() {