Răsfoiți Sursa

抽卡清数据

zhaoyang 2 ani în urmă
părinte
comite
01f8e74635

+ 3 - 2
GameClient/Assets/Game/HotUpdate/Views/LuckyBox/LuckyBoxBonusView.cs

@@ -88,6 +88,8 @@ namespace GFGGame
             _ui.m_t1.Play();
             _ui.m_t1.Play();
             openCount = 0;
             openCount = 0;
             openIndex = 0;
             openIndex = 0;
+            newCardList.Clear();
+            newItemList.Clear();
             Timers.inst.Remove(UpdateTime);
             Timers.inst.Remove(UpdateTime);
         }
         }
 
 
@@ -314,8 +316,7 @@ namespace GFGGame
 
 
             if (newCardList.Count > 0)
             if (newCardList.Count > 0)
             {
             {
-                ViewManager.Show<LuckyBoxNewCardView>(new object[] { newCardList, newItemList }
-                );
+                ViewManager.Show<LuckyBoxNewCardView>(new object[] { newCardList, newItemList });
             }
             }
             else if (newItemList.Count > 0)
             else if (newItemList.Count > 0)
             {
             {