Update VideoCutscene.hx
This commit is contained in:
@@ -173,9 +173,7 @@ class VideoCutscene extends Cutscene {
|
||||
loadingBackdrop.x -= elapsed * FlxG.width * 0.5;
|
||||
}
|
||||
if (skippable && video.isPlaying && controls.ACCEPT) {
|
||||
video.stop();
|
||||
video.dispose();
|
||||
close();
|
||||
video.onEndReached.dispatch();
|
||||
}
|
||||
#else
|
||||
close();
|
||||
@@ -203,4 +201,4 @@ typedef CutsceneSubtitle = {
|
||||
var time:Float; // time in ms
|
||||
var subtitle:String; // subtitle text
|
||||
var color:FlxColor;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user