File tree Expand file tree Collapse file tree 2 files changed +4
-6
lines changed Expand file tree Collapse file tree 2 files changed +4
-6
lines changed Original file line number Diff line number Diff line change @@ -73,13 +73,10 @@ class VideoCutscene
7373 if (! openfl. Assets .exists (filePath ))
7474 {
7575 // Display a popup.
76- // funkin.util.WindowUtil.showError('Error playing video', 'Video file does not exist: ${filePath}');
77- // return;
78-
79- // TODO: After moving videos to their own library,
80- // this function ALWAYS FAILS on web, but the video still plays.
81- // I think that's due to a weird quirk with how OpenFL libraries work.
76+ funkin.util. WindowUtil .showError (' Error playing video' , ' Video file does not exist: ${filePath }' );
8277 trace (' Video file does not exist: ${filePath }' );
78+
79+ return ;
8380 }
8481
8582 var rawFilePath = Paths .stripLibrary (filePath );
Original file line number Diff line number Diff line change @@ -95,6 +95,7 @@ class LoadingState extends MusicBeatSubState
9595 }
9696
9797 checkLibrary (' shared' );
98+ checkLibrary (' videos' );
9899 checkLibrary (stageDirectory );
99100 checkLibrary (' tutorial' );
100101
You can’t perform that action at this time.
0 commit comments