Explorar el Código

update bugfix

zy_1995 hace 6 meses
padre
commit
ed5bffd6bb

+ 0 - 2
assets/Game/PublicMJ_2/Script/OperateWeaveCtrl.js

@@ -113,7 +113,6 @@ cc.Class({
                 {
                     this.m_tipGang.active = true;
                     aniNode = this.m_tipGang.getComponent("SpineAnimationCtrl");
-                    show2Effect = false;
                     aniName = ["gang_loop"];
                     break;
                 }
@@ -121,7 +120,6 @@ cc.Class({
                 {
                     this.m_tipGangBu.active = true;
                     aniNode = this.m_tipGangBu.getComponent("SpineAnimationCtrl");
-                    show2Effect = false;
                     aniName = ["gang_loop"];
                     break;
                 }

+ 1 - 1
assets/Module/BindPhone/Script/SetNick.js

@@ -54,7 +54,7 @@ cc.Class({
               }
            
             pUserCtrl.SetUserByID(pGlobalUserData.dwUserID)
-            
+            this.m_Hook.onNickNameChange();
             
         }.bind(this));
     },

+ 5 - 0
assets/Module/SelfInfo/Script/SelfInfo.js

@@ -171,4 +171,9 @@ cc.Class({
         if(!cc.gPreLoader.Exist_Prefab(Data, Data)) return;
         this.ShowPrefabDLG(Data,this.node);
     },
+
+    onNickNameChange() {
+        var pGlobalUserData = g_GlobalUserInfo.GetGlobalUserData();
+        this.m_Hook.m_MeUserCtrl.SetUserByID(pGlobalUserData.dwUserID);
+    },
 });