Skip to content

Commit

Permalink
In DialogueViewBase, invoke the legacy DialogueStarted and DialogueCo…
Browse files Browse the repository at this point in the history
…mplete methods in the newer async equivalents
  • Loading branch information
desplesda committed May 23, 2024
1 parent 3940c67 commit 460bcf5
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Runtime/Views/DialogueViewBase.cs
Original file line number Diff line number Diff line change
Expand Up @@ -382,11 +382,15 @@ public virtual void UserRequestedViewAdvancement()

public override YarnTask OnDialogueStartedAsync()
{
// Invoke the synchronous version of 'dialogue started'
this.DialogueStarted();
return YarnTask.CompletedTask;
}

public override YarnTask OnDialogueCompleteAsync()
{
// Invoke the synchronous version of 'dialogue started'
this.DialogueComplete();
return YarnTask.CompletedTask;
}

Expand Down

0 comments on commit 460bcf5

Please sign in to comment.