Commit 79f1f957 authored by Chunchi Che's avatar Chunchi Che

Merge branch 'fix/selectOption' into 'main'

fix selectOption service

See merge request mycard/Neos!309
parents fde33120 f1cee37c
Pipeline #23438 passed with stages
in 14 minutes and 25 seconds
import { fetchStrings, getStrings, Region, type ygopro } from "@/api";
import {
fetchStrings,
getStrings,
Region,
sendSelectOptionResponse,
type ygopro,
} from "@/api";
import { displayOptionModal } from "@/ui/Duel/Message";
export default async (selectOption: ygopro.StocGameMessage.MsgSelectOption) => {
const options = selectOption.options;
if (options.length === 0) {
console.warn("<MsgSelectOption>options is empty.");
sendSelectOptionResponse(0);
return;
}
await displayOptionModal(
......
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