Kaynağa Gözat

update clear cache

zy_1995 5 ay önce
ebeveyn
işleme
c5bdb306c1

+ 8 - 2
assets/Game/21201/Script/GameClientEngine_21201.js

@@ -1969,7 +1969,7 @@ cc.Class({
         this.m_bEnd = false;
         if (this.m_RoomEnd) {
             if (this.m_wGameProgress > 0 || this.m_ReplayMode) {
-                this.RealShowEndView();
+                this.showRealEndView();
             } else {
                 this.ShowAlert("該房間已被解散!", Alert_Yes, function (Res) {
                     this.m_pTableScene.ExitGame();
@@ -2095,7 +2095,7 @@ cc.Class({
             this.m_GameClientView.m_BtStart.active = false;
             this.KillGameClock();
             if (this.m_bCanShowBigEnd) {
-                this.RealShowEndView();
+                this.showRealEndView();
             }
         } else {
             var self = this;
@@ -2105,6 +2105,12 @@ cc.Class({
         }
         return true;
     },
+
+    showRealEndView() {
+        this.RealShowEndView();
+        GameDef.m_AllCardItem = [];
+    },
+
     //点击安全监测
     OnBtClickedSafe: function () {
         cc.gSoundRes.PlaySound('Button');