Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions source/funkin/game/cutscenes/VideoCutscene.hx
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ class VideoCutscene extends Cutscene {
var localPath:String;

#if VIDEO_CUTSCENES
var video:FlxVideoSprite;
final video:FlxVideoSprite = new FlxVideoSprite();
final mutex = new sys.thread.Mutex();

var cutsceneCamera:FlxCamera;
Expand Down Expand Up @@ -58,7 +58,7 @@ class VideoCutscene extends Cutscene {

parseSubtitles();

add(video = new FlxVideoSprite());
add(video);
video.antialiasing = true;
video.bitmap.onEndReached.add(close);
video.bitmap.onFormatSetup.add(function() if (video.bitmap != null && video.bitmap.bitmapData != null) {
Expand Down