소스 검색

Merge branch 'master' of http://10.108.64.190:3000/gfg/client

zhaoyang 2 년 전
부모
커밋
1693d94c61
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  1. 1 0
      GameClient/Assets/Game/HotUpdate/ServerProxy/RoleInfoSProxy.cs

+ 1 - 0
GameClient/Assets/Game/HotUpdate/ServerProxy/RoleInfoSProxy.cs

@@ -135,6 +135,7 @@ namespace GFGGame
                 if (response.Error == ErrorCode.ERR_Success)
                 {
                     RoleDataManager.roleName = response.Name;
+                    GameGlobal.zoneScene.GetComponent<RoleInfosComponent>().GetCurrentRole().Name = response.Name;
                     EventAgent.DispatchEvent(ConstMessage.CHANGE_ROLE_NAME);
                     return true;
                 }