Skip to content

Commit

Permalink
Fix startDialogue for scripted cutscenes (#209)
Browse files Browse the repository at this point in the history
  • Loading branch information
MAZ12211 authored Oct 13, 2023
1 parent 13474ad commit db15307
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions source/funkin/game/cutscenes/ScriptedCutscene.hx
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ class ScriptedCutscene extends Cutscene {
#if REGION
public function startDialogue(path:String, ?callback:Void->Void) {
persistentDraw = true;
openSubState(new VideoCutscene(path, function() {
openSubState(new DialogueCutscene(path, function() {
if (callback != null)
callback();
}));
Expand All @@ -83,4 +83,4 @@ class ScriptedCutscene extends Cutscene {
private inline function get_isDialoguePlaying()
return subState is DialogueCutscene;
#end
}
}

0 comments on commit db15307

Please sign in to comment.