Skip to content

Commit c702e13

Browse files
committed
Update TutorialBattlePresenter.cs
1 parent 8e69a16 commit c702e13

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

Assets/Scripts/Game/Logic/TutorialBattlePresenter.cs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -170,8 +170,10 @@ protected override async UniTask<CardModel> SelectBattleCardAsync(CardBattleHand
170170
{
171171
BattleUIPresenter.ShowPlayerHand(availableCards);
172172
BattleUIPresenter.SetBattleHandInteractable(false);
173+
BattleUIPresenter.SetSkillButtonInteractable(false);
173174
await BattleUIPresenter.StartTutorial("BattleSkillPhase");
174-
await BattleUIPresenter.OnSkillActivated.FirstAsync();
175+
BattleUIPresenter.SetSkillButtonInteractable(true);
176+
await UniTask.WaitUntil(() => !handler.PlayerSkillAvailable);
175177
BattleUIPresenter.SetBattleHandInteractable(true);
176178
}
177179

0 commit comments

Comments
 (0)