Commit e7bd134c authored by SherryChaos's avatar SherryChaos

bug fix

parent 4c3b7780
......@@ -2926,9 +2926,9 @@ namespace MDPro3.Duel
}
bool allOnfield = cardsInSelection.All(c => c.p.InLocation(CardLocation.Onfield) && !c.p.InLocation(CardLocation.Overlay));
if (allOnfield)
Core.FieldSelect(ES_selectHint, cardsInSelection, ES_min, ES_max, cancelable, false);
Core.FieldSelect(ES_selectHint, cardsInSelection, ES_min, ES_max, cancelable, ES_min == 0);
else
Core.GetUI<OcgCoreUI>().ShowPopupSelectCard(ES_selectHint, cardsInSelection, ES_min, ES_max, cancelable, false);
Core.GetUI<OcgCoreUI>().ShowPopupSelectCard(ES_selectHint, cardsInSelection, ES_min, ES_max, cancelable, ES_min == 0);
await UniTask.WaitUntil(() => dispatcher.playerResponed);
}
......
......@@ -81,8 +81,6 @@ namespace MDPro3.UI.Popup
inputYearFrom.text = f[22].ToString();
if (f[23] > 0)
inputYearTo.text = f[23].ToString();
if (f[24] > 0)
inputDefenceFrom.text = f[24].ToString();
}
Manager.GetElement<SelectionButton>("ButtonPack")
.SetButtonText(CardCollectionView.packName == string.Empty
......
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