diff --git a/CTZLauncher/MainWindow.xaml.cs b/CTZLauncher/MainWindow.xaml.cs index 718cbc5..8457db7 100644 --- a/CTZLauncher/MainWindow.xaml.cs +++ b/CTZLauncher/MainWindow.xaml.cs @@ -156,7 +156,7 @@ namespace CTZLauncher MessageBox.Show("请输入账号密码!"); return; } - CTZAuthenticator auth = new CTZAuthenticator(username.Text, password.Text, "citycraft.cn", serverport); + CTZAuthenticator auth = new CTZAuthenticator(username.Text, password.Text, serveraddress, serverport); try { if (auth.isRegistered())