From 500c1e322581c407e3386929a5701e35e098c30f Mon Sep 17 00:00:00 2001 From: dgflash Date: Sun, 28 Sep 2025 15:48:05 +0800 Subject: [PATCH] . --- assets/module/common/GameComponent.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/assets/module/common/GameComponent.ts b/assets/module/common/GameComponent.ts index f2a030f..aefafc9 100644 --- a/assets/module/common/GameComponent.ts +++ b/assets/module/common/GameComponent.ts @@ -309,7 +309,7 @@ export class GameComponent extends Component { * @param url 资源地址 * @param params 音效播放参数 */ - async playEffect(url: string, params?: IAudioParams): Promise { + playEffect(url: string, params?: IAudioParams): Promise { return new Promise(async (resolve, reject) => { // 音效播放完,关闭正在播放状态的音乐效果 if (params == null) {