Some fixes
[vchess.git] / client / src / components / BaseGame.vue
index 4a451f4..d9540eb 100644 (file)
@@ -387,7 +387,7 @@ export default {
       };
       const playMove = () => {
         const animate = (
-          V.ShowMoves == "all" &&
+          ["all", "highlight"].includes(V.ShowMoves) &&
           (this.autoplay || !!received)
         );
         if (!Array.isArray(move)) move = [move];