2 Commits 8eb4fb5d20 ... aa2c18ba9b

Auteur SHA1 Message Date
  Roy aa2c18ba9b Merge branch 'qqplay-1.0' of http://svn.ouj.com:3000/DWG/budingGame into qqplay-1.0 il y a 6 ans
  Roy 41fa7779f7 fix il y a 6 ans
1 fichiers modifiés avec 3 ajouts et 3 suppressions
  1. 3 3
      assets/Script/Game/GameSence.js

+ 3 - 3
assets/Script/Game/GameSence.js

@@ -154,7 +154,7 @@ cc.Class({
 
         var endLayerNumLabel = gameOverNode.getChildByName("EndLayerNumLabel");
         endLayerNumLabel.getComponent("cc.Label").string = this.sumScore;
-
+        console.log("bShare: " + this.bShare);
         if (this.bShare) {
             // var endScoreLabel = gameOverNode.getChildByName("ShareNode").getChildByName("EndScoreLabel");
             // endScoreLabel.getComponent("cc.Label").string = this.sumScore;
@@ -172,7 +172,7 @@ cc.Class({
             }
             this.startFinishCount();
         } else {
-            gemeOverNode.getChildByName("OverBg").getComponent("GameOverRank").setMyScore(this.sumScore);
+            
             gameOverNode.getChildByName("EndNode").active = true;
             gameOverNode.getChildByName("ShareNode").active = false;
 
@@ -553,7 +553,7 @@ cc.Class({
     onShieldBtn: function () {
         if (CC_QQPLAY) {
             this.onPauseBtn();
-            
+
             var gameOverNode = this.node.getChildByName("GameOver");
             var countDownLabel = gameOverNode.getChildByName("ShareNode").getChildByName("EndCountDownLabel");
             var isFinish = false;