Commit 890a74ea authored by Chunchi Che's avatar Chunchi Che

fix wait

parent 315b0b42
import { ygopro } from "@/api"; import { ygopro } from "@/api";
import { import {
clearAllIdleInteractivities as clearAllIdleInteractivities, cardStore,
matStore, matStore,
} from "@/stores"; } from "@/stores";
export default (_wait: ygopro.StocGameMessage.MsgWait) => { export default (_wait: ygopro.StocGameMessage.MsgWait) => {
clearAllIdleInteractivities(0); for (const card of cardStore.inner) {
clearAllIdleInteractivities(1); card.idleInteractivities = [];
}
matStore.waiting = true; matStore.waiting = true;
}; };
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