2 İşlemeler 0a72c98160 ... 0eb2b3371f

Yazar SHA1 Mesaj Tarih
  tang biao 0eb2b3371f Merge branch 'dev' of http://svn.ouj.com:3000/DWG/taptapstar into dev 5 yıl önce
  tang biao 4941563fea 修改global 5 yıl önce

+ 1 - 1
assets/scripts/game/Game.js

@@ -129,7 +129,7 @@ cc.Class({
         if (GameGlobal.messageNotice !== undefined && GameGlobal.messageNotice.length > 0) {
             AlertManager.showNoticeAlert(GameGlobal.messageNotice);
             if (GameGlobal.noticeDiamond !== undefined && GameGlobal.noticeDiamond > 0) {
-                let showText = `钻石 x ${Global.noticeDiamond}`;
+                let showText = `钻石 x ${GameGlobal.noticeDiamond}`;
                 AlertManager.showActGiftAlert('diamond', showText);
             }
         }

+ 1 - 1
assets/scripts/utils/AlertManager.js

@@ -116,7 +116,7 @@ class AlertManager {
     /// 显示明星界面
     static showStarAlert() {
         GameModule.audioMng.playClickButton();
-        if (GameGlobal.starContent === undefined || Global.GameGlobal === null) {
+        if (GameGlobal.starContent === undefined || GameGlobal.starContent === null) {
             PrefabManager.loadPrefab('star_content')
                 .then((result) => {
                     let alert = result;