Commit 93fafeb6 authored by mercury233's avatar mercury233

fix finish button

parent 61c70af7
...@@ -3388,7 +3388,7 @@ public class Ocgcore : ServantWithCardDescription ...@@ -3388,7 +3388,7 @@ public class Ocgcore : ServantWithCardDescription
cancalable = (r.ReadByte() != 0); cancalable = (r.ReadByte() != 0);
ES_min = r.ReadByte(); ES_min = r.ReadByte();
ES_max = r.ReadByte(); ES_max = r.ReadByte();
ES_min = 1; // SelectUnselectCard can actually always select 1 card ES_min = finish ? 0 : 1; // SelectUnselectCard can actually always select 1 card
ES_max = 1; // SelectUnselectCard can actually always select 1 card ES_max = 1; // SelectUnselectCard can actually always select 1 card
ES_level = 0; ES_level = 0;
count = r.ReadByte(); count = r.ReadByte();
...@@ -3425,6 +3425,10 @@ public class Ocgcore : ServantWithCardDescription ...@@ -3425,6 +3425,10 @@ public class Ocgcore : ServantWithCardDescription
{ {
gameInfo.addHashedButton("cancleSelected", -1, superButtonType.no, InterString.Get("取消选择@ui")); gameInfo.addHashedButton("cancleSelected", -1, superButtonType.no, InterString.Get("取消选择@ui"));
} }
else if (finish)
{
gameInfo.addHashedButton("cancleSelected", -1, superButtonType.no, "完成选择");
}
realizeCardsForSelect(); realizeCardsForSelect();
if (ES_selectHint != "") if (ES_selectHint != "")
{ {
......
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