Browse Source

改名停止自动

zhaoyang 2 years ago
parent
commit
0ed0b72241

+ 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);