Commit 5791a7ed authored by nanahira's avatar nanahira

fix

parent cc6c263b
Pipeline #4275 failed with stages
in 9 seconds
...@@ -82,8 +82,8 @@ public class SelectServer : WindowServantSP ...@@ -82,8 +82,8 @@ public class SelectServer : WindowServantSP
UIHelper.getByName<UIInput>(gameObject, "port_").value = "7210"; UIHelper.getByName<UIInput>(gameObject, "port_").value = "7210";
Config.Set("serversPicker", "[OCG]Koishi"); Config.Set("serversPicker", "[OCG]Koishi");
inputIP_.enabled = true; inputIP_.enabled = false;
inputPort_.enabled = false; inputPort_.enabled = true;
break; break;
} }
case "[OCG]Mercury233": case "[OCG]Mercury233":
...@@ -92,8 +92,8 @@ public class SelectServer : WindowServantSP ...@@ -92,8 +92,8 @@ public class SelectServer : WindowServantSP
UIHelper.getByName<UIInput>(gameObject, "port_").value = "233"; UIHelper.getByName<UIInput>(gameObject, "port_").value = "233";
Config.Set("serversPicker", "[OCG]Mercury233"); Config.Set("serversPicker", "[OCG]Mercury233");
inputIP_.enabled = true; inputIP_.enabled = false;
inputPort_.enabled = false; inputPort_.enabled = true;
break; break;
} }
case "[OCG]23333 Pre": case "[OCG]23333 Pre":
...@@ -102,8 +102,8 @@ public class SelectServer : WindowServantSP ...@@ -102,8 +102,8 @@ public class SelectServer : WindowServantSP
UIHelper.getByName<UIInput>(gameObject, "port_").value = "23333"; UIHelper.getByName<UIInput>(gameObject, "port_").value = "23333";
Config.Set("serversPicker", "[OCG]23333 Pre"); Config.Set("serversPicker", "[OCG]23333 Pre");
inputIP_.enabled = true; inputIP_.enabled = false;
inputPort_.enabled = false; inputPort_.enabled = true;
break; break;
} }
case "[AI]233 AI": case "[AI]233 AI":
...@@ -112,8 +112,8 @@ public class SelectServer : WindowServantSP ...@@ -112,8 +112,8 @@ public class SelectServer : WindowServantSP
UIHelper.getByName<UIInput>(gameObject, "port_").value = "9999"; UIHelper.getByName<UIInput>(gameObject, "port_").value = "9999";
Config.Set("serversPicker", "[AI]233 AI"); Config.Set("serversPicker", "[AI]233 AI");
inputIP_.enabled = true; inputIP_.enabled = false;
inputPort_.enabled = false; inputPort_.enabled = true;
break; break;
} }
case "[TCG]Koishi TCG": case "[TCG]Koishi TCG":
......
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