Commit e14b2781 authored by chechunchi's avatar chechunchi

fix

parent 707b88d2
Pipeline #21830 passed with stages
in 13 minutes and 23 seconds
...@@ -201,22 +201,22 @@ export default class GameMsgAdapter implements StocAdapter { ...@@ -201,22 +201,22 @@ export default class GameMsgAdapter implements StocAdapter {
break; break;
} }
case GAME_MSG.MSG_ANNOUNCE_RACE: { case GAME_MSG.MSG_ANNOUNCE_RACE: {
gameMsg.announceRace = MsgAnnounceRace(gameData); gameMsg.announce = MsgAnnounceRace(gameData);
break; break;
} }
case GAME_MSG.MSG_ANNOUNCE_ATTRIB: { case GAME_MSG.MSG_ANNOUNCE_ATTRIB: {
gameMsg.announceAttrib = MsgAnnounceAttribute(gameData); gameMsg.announce = MsgAnnounceAttribute(gameData);
break; break;
} }
case GAME_MSG.MSG_ANNOUNCE_CARD: { case GAME_MSG.MSG_ANNOUNCE_CARD: {
gameMsg.announceCard = MsgAnnounceCard(gameData); gameMsg.announce = MsgAnnounceCard(gameData);
break; break;
} }
case GAME_MSG.MSG_ANNOUNCE_NUMBER: { case GAME_MSG.MSG_ANNOUNCE_NUMBER: {
gameMsg.announceNumber = MsgAnnounceNumber(gameData); gameMsg.announce = MsgAnnounceNumber(gameData);
break; break;
} }
......
import { fetchCard, fetchStrings, getStrings, ygopro } from "@/api"; import { fetchCard, fetchStrings, ygopro } from "@/api";
import { messageStore } from "@/stores"; import { messageStore } from "@/stores";
import MsgAnnounce = ygopro.StocGameMessage.MsgAnnounce; import MsgAnnounce = ygopro.StocGameMessage.MsgAnnounce;
......
...@@ -41,6 +41,7 @@ export const AnnounceModal = () => { ...@@ -41,6 +41,7 @@ export const AnnounceModal = () => {
> >
<CheckCard.Group <CheckCard.Group
bordered bordered
multiple
size="small" size="small"
onChange={(value: any) => { onChange={(value: any) => {
setSelected(value); setSelected(value);
......
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