From: Benjamin Auder Date: Wed, 12 Dec 2018 17:29:31 +0000 (+0100) Subject: Fix king pos update in Ultima. TODO: explain rules X-Git-Url: https://git.auder.net/variants/img/current/pieces/cn.svg?a=commitdiff_plain;h=96f8422ec4d5e3cee43e25e749e3cdc4547e0ed2;p=vchess.git Fix king pos update in Ultima. TODO: explain rules --- diff --git a/public/javascripts/variants/Ultima.js b/public/javascripts/variants/Ultima.js index 588968da..1db36919 100644 --- a/public/javascripts/variants/Ultima.js +++ b/public/javascripts/variants/Ultima.js @@ -404,9 +404,9 @@ class UltimaRules extends ChessRules } // Does this move takes opponent's king? const oppCol = this.getOppCol(c); - for (let psq of move.vanish) + for (let i=1; i