战斗开始 延迟刷新卡牌

This commit is contained in:
2025-05-29 10:11:24 +08:00
parent b7a05c2c24
commit 8cb3fe192d
2 changed files with 5 additions and 1 deletions

View File

@@ -70,6 +70,7 @@ export class MissionComp extends CCComp {
smc.mission.status=1
this.colose_victory()
this.mission_init()
}
mission_end(){
@@ -119,6 +120,9 @@ export class MissionComp extends CCComp {
}
let hero = ecs.getEntity<Hero>(Hero);
hero.hart_load()
this.scheduleOnce(() => {
this.card_refresh()
}, 0.5)
}