From: Benjamin Auder Date: Fri, 12 Mar 2021 17:00:28 +0000 (+0100) Subject: [Titan] Fix moves notation X-Git-Url: https://git.auder.net/?p=vchess.git;a=commitdiff_plain;h=58327965b8edcc3d1617058283a5111edde1c39b [Titan] Fix moves notation --- diff --git a/client/src/variants/Titan.js b/client/src/variants/Titan.js index f8d626eb..53420e83 100644 --- a/client/src/variants/Titan.js +++ b/client/src/variants/Titan.js @@ -257,6 +257,7 @@ export class TitanRules extends ChessRules { if ( V.AUGMENTED_PIECES.includes(move.vanish[0].p) || ( + move.appear.length >= 2 && move.vanish.length >= 2 && V.AUGMENTED_PIECES.includes(move.vanish[1].p) )