Commit d724a676 authored by Chunchi Che's avatar Chunchi Che

Merge branch 'fix/select_sum' into 'main'

fix select sum

See merge request mycard/Neos!334
parents cf9fd846 97d7e1af
...@@ -18,8 +18,8 @@ export default async (selectSum: MsgSelectSum) => { ...@@ -18,8 +18,8 @@ export default async (selectSum: MsgSelectSum) => {
await displaySelectActionsModal({ await displaySelectActionsModal({
overflow: selectSum.overflow !== 0, overflow: selectSum.overflow !== 0,
totalLevels: selectSum.level_sum, totalLevels: selectSum.level_sum,
min: selectSum.min, min: selectSum.min < 1 ? 1 : selectSum.min, // ygopro2 implementation
max: selectSum.max, max: selectSum.max < 1 ? 99 : selectSum.max,
selecteds: [...selecteds1, ...selecteds2], selecteds: [...selecteds1, ...selecteds2],
mustSelects: [...mustSelect1, ...mustSelect2], mustSelects: [...mustSelect1, ...mustSelect2],
selectables: [...selectable1, ...selectable2], selectables: [...selectable1, ...selectable2],
......
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