Commit fa612074 authored by Chunchi Che's avatar Chunchi Che

fix effect code

parent 2ca691a4
......@@ -136,7 +136,7 @@ async function _handleGameMsg(pb: ygopro.YgoStocMsg) {
break;
}
case "select_option": {
onMsgSelectOption(msg.select_option);
await onMsgSelectOption(msg.select_option);
break;
}
......
......@@ -157,6 +157,7 @@ const onCardClick = (card: CardType) => {
(interactivity) => ({
desc: interactTypeToString(interactivity.interactType),
response: interactivity.response,
effectCode: interactivity.activateIndex,
})
);
messageStore.cardModal.counters = card.counters;
......
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