mirror of
https://github.com/project-redbud/FunGame-Core.git
synced 2025-12-05 08:09:02 +00:00
删除ip和port的二次验证
This commit is contained in:
parent
67ce75c5be
commit
ec5e34a356
@ -78,11 +78,7 @@ namespace Milimoe.FunGame.Core.Controller
|
|||||||
// 检查服务器IP地址和端口是否正确
|
// 检查服务器IP地址和端口是否正确
|
||||||
if (ip == "" || port <= 0)
|
if (ip == "" || port <= 0)
|
||||||
{
|
{
|
||||||
(ip, port) = GetServerAddress();
|
result = ConnectResult.FindServerFailed;
|
||||||
if (ip == "" || port <= 0)
|
|
||||||
{
|
|
||||||
result = ConnectResult.FindServerFailed;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
if (result == ConnectResult.Success)
|
if (result == ConnectResult.Success)
|
||||||
{
|
{
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user