소스 검색

打击乐不进行效音

liushengqiang 2 년 전
부모
커밋
a552ac7400
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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 {