Commit 9580a6c2 authored by chechunchi's avatar chechunchi

fix

parent ce224354
Pipeline #19647 passed with stages
in 5 minutes and 8 seconds
...@@ -15,6 +15,7 @@ import onMsgSelectPosition from "./selectPosition"; ...@@ -15,6 +15,7 @@ import onMsgSelectPosition from "./selectPosition";
import onMsgSelectOption from "./selectOption"; import onMsgSelectOption from "./selectOption";
import onMsgShuffleHand from "./shuffleHand"; import onMsgShuffleHand from "./shuffleHand";
import onMsgSelectBattleCmd from "./selectBattleCmd"; import onMsgSelectBattleCmd from "./selectBattleCmd";
import onMsgPosChange from "./posChange";
export default function handleGameMsg(pb: ygopro.YgoStocMsg) { export default function handleGameMsg(pb: ygopro.YgoStocMsg) {
const dispatch = store.dispatch; const dispatch = store.dispatch;
...@@ -96,6 +97,11 @@ export default function handleGameMsg(pb: ygopro.YgoStocMsg) { ...@@ -96,6 +97,11 @@ export default function handleGameMsg(pb: ygopro.YgoStocMsg) {
break; break;
} }
case "pos_change": {
onMsgPosChange(msg.pos_change, dispatch);
break;
}
default: { default: {
break; break;
} }
......
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