Skip to content

Commit

Permalink
Update DialogueSystem.cs
Browse files Browse the repository at this point in the history
  • Loading branch information
BDeshiDev committed Apr 30, 2024
1 parent 5d712d7 commit 81861bc
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -76,14 +76,14 @@ public void StartDialogue()

public async UniTask PlayDialogue(DialogueGraph graph)
{
_currentGraph.Initialize();
graph.Initialize();
await PlayDialogue(graph, graph.StartNode);
}

public async UniTask PlayDialogue(DialogueNodeBase startNode)
{
_currentGraph.Initialize();
var graph = startNode.graph as DialogueGraph;
graph.Initialize();
await PlayDialogue(graph, startNode);
}

Expand Down

0 comments on commit 81861bc

Please sign in to comment.