Commit 0fd6be1f authored by SherryChaos's avatar SherryChaos

PopupDuelSelectCard returnAction bug fix

parent f155bde6
This diff is collapsed.
...@@ -126,6 +126,10 @@ namespace MDPro3.UI ...@@ -126,6 +126,10 @@ namespace MDPro3.UI
{ {
base.Show(); base.Show();
Program.I().currentServant.returnAction = OnCancel; Program.I().currentServant.returnAction = OnCancel;
if (!exitable)
Program.I().currentServant.returnAction = FieldView;
if (Program.I().ocgcore.currentMessage == GameMessage.ConfirmCards)
Program.I().currentServant.returnAction = OnFinish;
} }
void Refresh() void Refresh()
...@@ -373,7 +377,6 @@ namespace MDPro3.UI ...@@ -373,7 +377,6 @@ namespace MDPro3.UI
public override void OnCancel() public override void OnCancel()
{ {
//Debug.Log("OnCancel: " + core.currentMessage);
base.OnCancel(); base.OnCancel();
if (!exitable) if (!exitable)
return; return;
......
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