Explorar o código

奖励星星闪闪bug修复

薛鸿潇 %!s(int64=5) %!d(string=hai) anos
pai
achega
6b89a83a7f
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      assets/script/game/module/reward/Reward.ts

+ 1 - 0
assets/script/game/module/reward/Reward.ts

@@ -186,6 +186,7 @@ export default class Reward extends cc.Component {
         if (!gData.reward.data || !gData.reward.data.length) return;
         mk.audio.playEffect("rewardOpen");
         this.hb_star.active = true;
+        this.hb_star.getComponent(sp.Skeleton).animation = 'animation';
         this.cur_stage = LidType.none;
 
         // 数据排序:多条奖励,只展示红包,把红包放在首位