Commit 2293b442 authored by mercury233's avatar mercury233 Committed by nanahira

fix selectplace hint

parent ed4e08c0
...@@ -3995,7 +3995,7 @@ public class Ocgcore : ServantWithCardDescription ...@@ -3995,7 +3995,7 @@ public class Ocgcore : ServantWithCardDescription
//TODO: can cancel //TODO: can cancel
if (min == 0) min = 1; if (min == 0) min = 1;
uint _field = ~r.ReadUInt32(); uint _field = ~r.ReadUInt32();
if (Program.I().setting.setting.hand.value == true || Program.I().setting.setting.handm.value == true) if (Program.I().setting.setting.hand.value == true || Program.I().setting.setting.handm.value == true || (GameMessage)p.Fuction == GameMessage.SelectDisfield)
{ {
ES_min = min; ES_min = min;
...@@ -4065,6 +4065,8 @@ public class Ocgcore : ServantWithCardDescription ...@@ -4065,6 +4065,8 @@ public class Ocgcore : ServantWithCardDescription
} }
} }
if ((GameMessage)p.Fuction == GameMessage.SelectPlace)
{
if (Es_selectMSGHintType == 3) if (Es_selectMSGHintType == 3)
{ {
if (Es_selectMSGHintPlayer == 0) if (Es_selectMSGHintPlayer == 0)
...@@ -4078,6 +4080,18 @@ public class Ocgcore : ServantWithCardDescription ...@@ -4078,6 +4080,18 @@ public class Ocgcore : ServantWithCardDescription
} }
} }
else else
{
if (ES_selectHint != "")
{
gameField.setHint(ES_selectHint);
}
else
{
gameField.setHint(GameStringManager.get_unsafe(570));
}
}
}
else
{ {
uint field = _field; uint field = _field;
for (int i = 0; i < min; i++) for (int i = 0; i < min; i++)
......
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