From 13c045da5611692e28319608128d24ab137f9005 Mon Sep 17 00:00:00 2001 From: Mihai Alexandru <77043862+MAJigsaw77@users.noreply.github.com> Date: Mon, 26 Jun 2023 15:26:49 +0300 Subject: [PATCH] Reorder --- source/funkin/game/cutscenes/VideoCutscene.hx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/funkin/game/cutscenes/VideoCutscene.hx b/source/funkin/game/cutscenes/VideoCutscene.hx index 54bafdd4..2bf8ff90 100644 --- a/source/funkin/game/cutscenes/VideoCutscene.hx +++ b/source/funkin/game/cutscenes/VideoCutscene.hx @@ -53,8 +53,8 @@ class VideoCutscene extends Cutscene { parseSubtitles(); video = new FlxVideo(); - video.onEndReached.add(close); video.onEndReached.add(video.dispose); + video.onEndReached.add(close); bg = new FlxSprite(0, FlxG.height * 0.85).makeGraphic(1, 1, 0xFF000000); bg.alpha = 0.5;