少年修仙传客户端代码仓库
client_linchunjie
2018-11-01 959297454b3a691f677a7fcdf9f288941409ac1c
4503 【前端】【1.2】副本挑战按钮和材料不足弹框
1个文件已修改
11 ■■■■■ 已修改文件
System/Team/TeamFailEnterDungeonHandle.cs 11 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
System/Team/TeamFailEnterDungeonHandle.cs
@@ -1,6 +1,7 @@
using System;
using System.Collections;
using System.Collections.Generic;
using TableConfig;
using UnityEngine;
namespace Snxxz.UI
{
@@ -62,6 +63,16 @@
            {
                return;
            }
            if (!(StageManager.Instance.CurrentStage is DungeonStage))
            {
                return;
            }
            var mapId = PlayerDatas.Instance.baseData.MapID;
            var mapConfig = Config.Instance.Get<MapConfig>(mapId);
            if (mapConfig == null || mapConfig.MapFBType != (int)MapType.OpenCountry)
            {
                return;
            }
            if (StageManager.Instance.isLoading)
            {
                if (!tasks.ContainsKey(31080))