Commit b71bf1c4 authored by love_飞影's avatar love_飞影

fix: 修复只处理了一种 destroy 的情况

parent 4410bf15
Pipeline #26465 passed with stages
in 6 minutes and 50 seconds
...@@ -56,12 +56,8 @@ export default async (move: MsgMove) => { ...@@ -56,12 +56,8 @@ export default async (move: MsgMove) => {
break; break;
} }
switch (reason) { if (reason & REASON_DESTROY) {
case REASON_DESTROY: playEffect(AudioActionType.SOUND_DESTROYED);
playEffect(AudioActionType.SOUND_DESTROYED);
break;
default:
break;
} }
// log出来看看 // log出来看看
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment