瀏覽代碼

改名停止自动

zhaoyang 2 年之前
父節點
當前提交
0ed0b72241
共有 1 個文件被更改,包括 5 次插入0 次删除
  1. 5 0
      GameClient/Assets/Game/HotUpdate/Views/MainStory/StoryDialogView.cs

+ 5 - 0
GameClient/Assets/Game/HotUpdate/Views/MainStory/StoryDialogView.cs

@@ -369,6 +369,11 @@ namespace GFGGame
         {
             if (storyDialogCfg.showChangeName == 1 && StorageDataManager.Instance.GetStorageValue(ConstStorageId.CHANGE_NAME) == 0)
             {
+                if (_autoPlay)
+                {
+                    _ui.m_btnAutoPlay.selected = false;
+                    OnClickBtnAutoPlay();
+                }
                 GameController.ShowCreateRole();
             }
             _ui.m_loaMask.url = ResPathUtil.GetBgImgPath(storyDialogCfg.maskRes);