Skip to content

Commit

Permalink
no dialogue music crash fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Lasercar committed Jan 28, 2025
1 parent df142a9 commit 450b8cc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/funkin/play/cutscene/dialogue/Conversation.hx
Original file line number Diff line number Diff line change
Expand Up @@ -407,7 +407,7 @@ class Conversation extends FlxSpriteGroup implements IDialogueScriptedClass impl
ease: EaseUtil.stepped(8)
});

FlxTween.tween(this.music, {volume: 0.0}, outroData.fadeTime);
if (this.music != null) FlxTween.tween(this.music, {volume: 0.0}, outroData.fadeTime);
case NONE(_):
// Immediately clean up.
endOutro();
Expand Down

0 comments on commit 450b8cc

Please sign in to comment.