Fix typo
authorBenjamin Auder <benjamin.auder@somewhere>
Sat, 4 Jun 2022 19:00:32 +0000 (21:00 +0200)
committerBenjamin Auder <benjamin.auder@somewhere>
Sat, 4 Jun 2022 19:00:32 +0000 (21:00 +0200)
app.js

diff --git a/app.js b/app.js
index 09d7815..bb16537 100644 (file)
--- a/app.js
+++ b/app.js
@@ -457,7 +457,7 @@ let curMoves = [],
 const afterPlay = (move_s) => {
   const callbackAfterSend = () => {
     curMoves = [];
-    const result = vr.getCurrentScore(move);
+    const result = vr.getCurrentScore(move_s);
     if (result != "*") {
       setTimeout(() => {
         toggleVisible("gameStopped");