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/Dynamo/%7B%7B%20path%28%27mixstore_static_home%27%29%20%7D%7D?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) {