X-Git-Url: https://git.auder.net/?p=vchess.git;a=blobdiff_plain;f=client%2Fsrc%2Fvariants%2FMarseille.js;h=940d9ba9d5683d15e2c55f9a1f495264994f2554;hp=ed9965b04351a142a5dbf0a295d6f200b0a30fbb;hb=0d5335de5c94d780e03ac0aa3279b731c69455cc;hpb=58bf4670c6bf01d94fe1f798cd5d63493d15e196 diff --git a/client/src/variants/Marseille.js b/client/src/variants/Marseille.js index ed9965b0..940d9ba9 100644 --- a/client/src/variants/Marseille.js +++ b/client/src/variants/Marseille.js @@ -124,7 +124,7 @@ export class MarseilleRules extends ChessRules { if (piece == V.KING && move.appear.length > 0) { this.kingPos[c][0] = move.appear[0].x; this.kingPos[c][1] = move.appear[0].y; - if (V.HasCastle) this.castleFlags[c] = [V.size.y, V.size.y]; + this.castleFlags[c] = [V.size.y, V.size.y]; return; } const oppCol = V.GetOppCol(c);