少年修仙传客户端代码仓库
client_Hale
2018-08-31 62015b52eae8109d657ed9359d966f95eef295a3
Fixed #382 前端AI可能导致的报错保护
1个文件已修改
6 ■■■■■ 已修改文件
Fight/Actor/AI/SampleAI.cs 6 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
Fight/Actor/AI/SampleAI.cs
@@ -142,6 +142,12 @@
    {
        // 英雄是否存在
        GA_Hero _hero = PlayerDatas.Instance.hero;
        if (_hero == null)
        {
            return;
        }
        // 持有者是否已经死亡
        if (m_Owner == null
         || m_Owner.ActorInfo == null