Skip to content

Commit d73f86d

Browse files
committed
Fixed video cutscenes not loading from song folders.
1 parent 0251fe8 commit d73f86d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

source/funkin/game/PlayState.hx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -674,8 +674,8 @@ class PlayState extends MusicBeatState
674674
detailsText = isStoryMode ? ("Story Mode: " + storyWeek.name) : "Freeplay";
675675

676676
// Checks if cutscene files exists
677-
var cutscenePath = Paths.script('songs/${SONG.meta.name}/cutscene');
678-
var endCutscenePath = Paths.script('songs/${SONG.meta.name}/cutscene-end');
677+
var cutscenePath = Paths.file('songs/${SONG.meta.name}/cutscene.${Flags.VIDEO_EXT}');
678+
var endCutscenePath = Paths.file('songs/${SONG.meta.name}/cutscene-end.${Flags.VIDEO_EXT}');
679679
if (Assets.exists(cutscenePath)) cutscene = cutscenePath;
680680
if (Assets.exists(endCutscenePath)) endCutscene = endCutscenePath;
681681

0 commit comments

Comments
 (0)