Fix path to Alice pieces
authorBenjamin Auder <benjamin.auder@somewhere>
Tue, 25 Feb 2020 23:33:33 +0000 (00:33 +0100)
committerBenjamin Auder <benjamin.auder@somewhere>
Tue, 25 Feb 2020 23:33:33 +0000 (00:33 +0100)
client/src/variants/Alice.js

index b16d728..a92338f 100644 (file)
@@ -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) {