111
This commit is contained in:
@@ -694,17 +694,13 @@ namespace Assets.MyGame.Scripts.Net
|
||||
{
|
||||
GameManager.Instance.Logout();
|
||||
return;
|
||||
});
|
||||
}, showClose: false);
|
||||
}
|
||||
}
|
||||
catch (Exception e)
|
||||
{
|
||||
Debug.LogWarning("[AccountKicked] 解析失败: " + e.Message);
|
||||
}
|
||||
|
||||
// 提示并登出(Logout 已封装:CloseAll WebSocket + 清空用户 + 关闭所有 UI + 回登录界面)
|
||||
UIManager.Instance.ShowBoardError("账号已在其他地方登录");
|
||||
//GameManager.Instance.Logout();
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
@@ -783,7 +779,7 @@ namespace Assets.MyGame.Scripts.Net
|
||||
UIManager.Instance.ShowTiShi("连接已失效,请重新登录", () =>
|
||||
{
|
||||
GameManager.Instance.Logout();
|
||||
});
|
||||
}, showClose: false);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
|
||||
Reference in New Issue
Block a user