zhaoyu_ma há 4 meses atrás
pai
commit
c85f6369b3

+ 6 - 6
luckypot_sp/assets/Lobby/scripts/HNScenceManager.js

@@ -237,8 +237,8 @@ class HNScenceManager {
             }
             this.setHallNodesActive(false);
             if (this._currGameNode != undefined && this._currGameNode != null) {
-                this._currGameNode.destroy();
-                // this._currGameNode.removeFromParent(true);
+                // this._currGameNode.destroy();
+                this._currGameNode.removeFromParent(true);
                 this._currGameNode = null;
             }
             if (cc.vv && cc.vv.audioMgr) {
@@ -275,14 +275,14 @@ class HNScenceManager {
         cc.vv.audioMgr.stopBackMusic();
         cc.vv.audioMgr.stopAllEffects();
         if (this.pgContentP) {//销毁pg容器
-            this.pgContentP.destroy();
-            // this.pgContentP.removeFromParent(true);
+            // this.pgContentP.destroy();
+            this.pgContentP.removeFromParent(true);
             this.pgContentP = null;
         }
         if (this._currGameNode != undefined && this._currGameNode != null) {
 
-            this._currGameNode.destroy();
-            // this._currGameNode.removeFromParent(true);
+            // this._currGameNode.destroy();
+            this._currGameNode.removeFromParent(true);
             this._currGameNode = null;
 
             let runScene = cc.director.getScene();

+ 1 - 1
luckypot_sp/assets/Lobby/scripts/homesence/SecondaryGameListDev.js

@@ -101,7 +101,7 @@ cc.Class({
             this.roomList.addChild(tempRoom);
 
             cc.find("ScoreNode/Score", tempRoom).getComponent(cc.Label).string = Global.formatString2Score(this.curRoomArr[i].CellScore);
-            cc.find("LimitNode/Score", tempRoom).getComponent(cc.Label).string = Global.formatString2Score("$" + parseFloat(this.curRoomArr[i].EnterScore));
+            cc.find("LimitNode/Score", tempRoom).getComponent(cc.Label).string = Global.formatString2Score(parseFloat(this.curRoomArr[i].EnterScore));
         }
         if(this.curRoomArr.length == 1){
             if(!maxEnterableRoomNode){

+ 1 - 0
luckypot_sp/assets/Lobby/scripts/homesence/homeStartDev.js

@@ -157,6 +157,7 @@ cc.Class({
     },
 
     setPreLoadBundle(){
+        return;
         for(let item of cc.vv.miniGameSort){
             this.preArr.push(item.KindID);        
         }