From: Benjamin Auder Date: Tue, 25 Feb 2020 23:33:33 +0000 (+0100) Subject: Fix path to Alice pieces X-Git-Url: https://git.auder.net/variants/img/current/assets/css/common.css?a=commitdiff_plain;h=41217d97dc0a22ebd7a6340e3bfc6e159881f828;p=vchess.git Fix path to Alice pieces --- diff --git a/client/src/variants/Alice.js b/client/src/variants/Alice.js index b16d728e..a92338f7 100644 --- a/client/src/variants/Alice.js +++ b/client/src/variants/Alice.js @@ -30,7 +30,7 @@ export const VariantRules = class AliceRules extends ChessRules { } getPpath(b) { - return (Object.keys(this.ALICE_PIECES).includes(b[1]) ? "Alice/" : "") + b; + return (Object.keys(V.ALICE_PIECES).includes(b[1]) ? "Alice/" : "") + b; } setOtherVariables(fen) {