Commit 0132f0c6 authored by nanahira's avatar nanahira

fixes

parent 0104e43e
...@@ -96,7 +96,7 @@ public class MyCard : WindowServantSP ...@@ -96,7 +96,7 @@ public class MyCard : WindowServantSP
(new Thread(() => { TcpHelper.join(mycard_ip, username, match_type == "athletic" ? athletic_port : entertain_port, pswString, "0x" + String.Format("{0:X}", Config.ClientVersion)); })).Start(); (new Thread(() => { TcpHelper.join(mycard_ip, username, match_type == "athletic" ? athletic_port : entertain_port, pswString, "0x" + String.Format("{0:X}", Config.ClientVersion)); })).Start();
isRequesting = false; isRequesting = false;
} catch (Exception e) { } catch (Exception e) {
if (e.GetType() != ThreadAbortException) { if (!e.GetType().Equals(ThreadAbortException)) {
Program.PrintToChat(InterString.Get("未知错误: ") + e.Message); Program.PrintToChat(InterString.Get("未知错误: ") + e.Message);
} else { } else {
Program.PrintToChat("匹配已中断。"); Program.PrintToChat("匹配已中断。");
......
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