Commit fe321470 authored by timel's avatar timel

fix: global animation sequence

parent 67516e9a
......@@ -93,7 +93,6 @@ let animation: Promise<unknown> = new Promise<void>((rs) => rs());
export default async function handleGameMsg(pb: ygopro.YgoStocMsg) {
animation = animation.then(() => _handleGameMsg(pb));
// _handleGameMsg(pb);
}
async function _handleGameMsg(pb: ygopro.YgoStocMsg) {
......@@ -324,7 +323,6 @@ async function _handleGameMsg(pb: ygopro.YgoStocMsg) {
}
case "confirm_cards": {
await onConfirmCards(msg.confirm_cards);
break;
}
case "become_target": {
......
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