浏览代码

拍照界面断线后再返回登录会报错

zhaoyang 3 年之前
父节点
当前提交
af5a9258af
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      GameClient/Assets/Game/HotUpdate/Views/DressUp/DressUpView.cs

+ 1 - 0
GameClient/Assets/Game/HotUpdate/Views/DressUp/DressUpView.cs

@@ -114,6 +114,7 @@ namespace GFGGame
             base.OnHide();
             listTypeItem_FreedomDress = null;
             // MusicManager.Instance.Play(ResPathUtil.GetMusicPath(ConstMusicName.DEFAULT));
+            EquipDataCache.cacher.setSceneObj(_sceneObject);//再拍照界面断线返回登录,需要重新设置_sceneObject
             EquipDataCache.cacher.TakeOffAll();
 
             if (_sceneObject != null)