Commit ca6985a5 authored by nanahira's avatar nanahira

fix

parent 2f0b067b
...@@ -94,7 +94,7 @@ public class MyCard : WindowServantSP ...@@ -94,7 +94,7 @@ public class MyCard : WindowServantSP
Program.PrintToChat(InterString.Get("匹配成功。正在进入房间。")); Program.PrintToChat(InterString.Get("匹配成功。正在进入房间。"));
Program.I().mycard.isMatching = true; Program.I().mycard.isMatching = true;
(new Thread(() => { TcpHelper.join(matchResultObject.address, mycardHelper.username, matchResultObject.port, matchResultObject.password, "0x" + String.Format("{0:X}", Config.ClientVersion)); })).Start(); (new Thread(() => { TcpHelper.join(matchResultObject.address, mycardHelper.username, matchResultObject.port.ToString(), matchResultObject.password, "0x" + String.Format("{0:X}", Config.ClientVersion)); })).Start();
isRequesting = false; isRequesting = false;
} catch (Exception e) { } catch (Exception e) {
if (e.GetType() != typeof(ThreadAbortException)) { if (e.GetType() != typeof(ThreadAbortException)) {
......
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