Procházet zdrojové kódy

打击乐不进行效音

liushengqiang před 2 roky
rodič
revize
a552ac7400
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  1. 1 1
      src/view/evaluating/index.tsx

+ 1 - 1
src/view/evaluating/index.tsx

@@ -150,7 +150,7 @@ export const handlePerformDetection = async () => {
 		// 效音
 		// 是否需要开启效音
 		evaluatingData.checkStep = 10;
-		if (state.setting.soundEffect) {
+		if (state.setting.soundEffect && !state.isPercussion) {
 			evaluatingData.soundEffectMode = true;
 			handleStartSoundCheck();
 		} else {