From 2a145010d23e19414bb422c2fda45f4d14d8f146 Mon Sep 17 00:00:00 2001
From: fanxuehan <fanxuehan@qq.com>
Date: Fri, 20 Aug 2021 10:01:41 +0800
Subject: [PATCH] =?UTF-8?q?feat:=20=E7=AC=AC=E4=B8=80=E6=AC=A1=E6=92=AD?=
 =?UTF-8?q?=E6=94=BE=E9=9F=B3=E6=95=88=EF=BC=8C=E7=AC=AC=E4=BA=8C=E6=AC=A1?=
 =?UTF-8?q?=E6=92=AD=E6=94=BE=E8=AF=AD=E9=9F=B3?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

---
 src/app/play/game/MyGame.ts | 11 +++++++----
 1 file changed, 7 insertions(+), 4 deletions(-)

diff --git a/src/app/play/game/MyGame.ts b/src/app/play/game/MyGame.ts
index b817f3d..e5959b4 100644
--- a/src/app/play/game/MyGame.ts
+++ b/src/app/play/game/MyGame.ts
@@ -430,16 +430,19 @@ export class MyGame extends Game {
           label.visible = true;
           tweenChange(label, { alpha: 1 }, 0.2);
         }
+
+        if (wordMiddle.alpha == 1) {
+          this.playAudio('click_line');
+        } else {
+          this.playAudio(popUpData.groupAudios[letterData.group].audio);
+        }
+
         groupShowedList[letterData.group] = true;
         if (groupShowedList.every(show => show == true)) {
           const changeBtn = this.seekChildByName('changeBtn');
           changeBtn.visible = true;
           tweenChange(changeBtn, { alpha: 1 }, 0.2);
         }
-
-        this.playAudio('click_line', true, () => {
-          this.playAudio(popUpData.groupAudios[letterData.group].audio);
-        });
       });
       wordBase.addChild(wordMiddle);
 
-- 
2.21.0