Commit 38c7748d authored by sbl1996@126.com's avatar sbl1996@126.com

temporal fix for multi_select error

parent 1de9f8cc
...@@ -1837,9 +1837,13 @@ public: ...@@ -1837,9 +1837,13 @@ public:
} else { } else {
// TODO: find the root cause // TODO: find the root cause
fmt::println("options: {}, idx: {}, option: {}", options_, idx, option); fmt::println("options: {}, idx: {}, option: {}", options_, idx, option);
if (std::find(options_.begin(), options_.end(), "f") != options_.end()) { ms_idx_ = -1;
finish = true; resp_buf_[0] = ms_min_;
for (int i = 0; i < ms_min_; ++i) {
resp_buf_[i + 1] = i;
} }
YGO_SetResponseb(pduel_, resp_buf_);
return;
} }
} }
if (finish) { if (finish) {
......
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