少年修仙传客户端代码仓库
client_Wu Xijin
2018-08-31 e3651c6db805157780a9e536a159e1d7b44d10cf
2199 加载地图过程中可能出现错误的记录
1个文件已修改
12 ■■■■■ 已修改文件
Fight/Stage/StageManager.cs 12 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
Fight/Stage/StageManager.cs
@@ -137,6 +137,12 @@
#if UNITY_EDITOR
            Debug.LogFormat("StageManager出现加载相同地图行为:" + mapResConfigID);
#endif
            if (loadTimeOutCatcher != null)
            {
                loadTimeOutCatcher.Stop();
                loadTimeOutCatcher = null;
            }
            ExceptionCatcher.ReportException("场景加载 Step1", StringUtility.Contact("StageManager出现加载相同地图行为:", mapResConfigID));
            yield break;
        }
@@ -418,6 +424,12 @@
        {
            ModelCenter.Instance.GetModel<DungeonModel>().ExitCurrentDungeon();
        }
        if (loadTimeOutCatcher != null)
        {
            loadTimeOutCatcher.Stop();
        }
        loadTimeOutCatcher = null;
    }
    private void InitHero()