少年修仙传客户端代码仓库
client_Hale
2019-04-18 28373b1fe5a5487129dd3e64e1eb84df37d8ef30
382 修复在没有客户端地图数据的时候报错导致无法寻路
1个文件已修改
2 ■■■ 已修改文件
Fight/Stage/MapEditor/Game/ClientSceneManager.cs 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
Fight/Stage/MapEditor/Game/ClientSceneManager.cs
@@ -452,7 +452,7 @@
    private Vector3 GetNext(Vector3 start, Vector3 next)
    {
        count += 1;
        if (count > 20 || next == Vector3.zero)
        if (count > 20 || next == Vector3.zero || m_MapData == null)
        {
            return Vector3.zero;
        }