少年修仙传客户端代码仓库
client_Wu Xijin
2018-11-08 5876edcb0d21a7f89a0db1a4dd80b68857eb54a1
3335 新手引导添加保护
1个文件已修改
8 ■■■■■ 已修改文件
System/NewBieGuidance/NewBieCenter.cs 8 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
System/NewBieGuidance/NewBieCenter.cs
@@ -251,11 +251,17 @@
            if (_step == guideStep)
            {
                var config = Config.Instance.Get<GuideConfig>(currentGuide);
                if (config == null)
                {
                    guideStep = 0;
                    FinishNewBieGuide(currentGuide);
                    return;
                }
                var stepIndex = Array.IndexOf(config.Steps, _step);
                if (stepIndex < config.Steps.Length - 1)
                {
                    guideStep = config.Steps[stepIndex + 1];
                    if (guideStepChangeEvent != null)
                    {
                        guideStepChangeEvent();