Skip to content

Commit

Permalink
Fix dialogueLine next sound not getting from assets/sounds (#418)
Browse files Browse the repository at this point in the history
  • Loading branch information
joaquinLOL123 authored Oct 30, 2024
1 parent aae4dee commit cb54e5e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions source/funkin/game/cutscenes/DialogueCutscene.hx
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ class DialogueCutscene extends Cutscene {
musicVolume: node.has.musicVolume ? (volume = Std.parseFloat(node.att.speed).getDefault(0.8)) : null,
changeMusic: node.has.changeMusic ? FlxG.sound.load(Paths.music(node.att.changeMusic), volume, true) : null,
playSound: node.has.playSound ? FlxG.sound.load(Paths.sound(node.att.playSound)) : null,
nextSound: node.has.nextSound ? FlxG.sound.load(Paths.music(node.att.nextSound)) : null,
nextSound: node.has.nextSound ? FlxG.sound.load(Paths.sound(node.att.nextSound)) : null,
textSound: null
};

Expand Down Expand Up @@ -215,4 +215,4 @@ typedef DialogueLine = {
var nextSound:FlxSound;
var textSound:FlxSound;
var changeDefAnim:String;
}
}

0 comments on commit cb54e5e

Please sign in to comment.