video fix for zips

This commit is contained in:
Yoshman29
2023-04-02 19:39:50 +02:00
parent 7b9c984cf9
commit d9ca22bbda
5 changed files with 84 additions and 5 deletions
+1 -1
View File
@@ -721,7 +721,7 @@ class PlayState extends MusicBeatState
var videoCutsceneAlt = Paths.file('songs/${PlayState.SONG.meta.name.toLowerCase()}/${prefix}cutscene.mp4');
var dialogue = Paths.file('songs/${PlayState.SONG.meta.name.toLowerCase()}/${prefix}dialogue.xml');
persistentUpdate = true;
if (cutsceneScriptPath != null) {
if (cutsceneScriptPath != null && Assets.exists(cutsceneScriptPath)) {
openSubState(new ScriptedCutscene(cutsceneScriptPath, function() {
callback();
}));