Commit 5b2314aa authored by love_飞影's avatar love_飞影 Committed by Chunchi Che

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

parent afe7d434
......@@ -56,12 +56,8 @@ export default async (move: MsgMove) => {
break;
}
switch (reason) {
case REASON_DESTROY:
if (reason & REASON_DESTROY) {
playEffect(AudioActionType.SOUND_DESTROYED);
break;
default:
break;
}
// 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