From 0691207413784753ea69afedeb5a24a4e34caa2f Mon Sep 17 00:00:00 2001 From: sector-a <82838084+sector-a@users.noreply.github.com> Date: Fri, 10 Oct 2025 00:26:35 +0300 Subject: [PATCH] Unneccessary stuff --- source/funkin/play/components/Subtitles.hx | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/source/funkin/play/components/Subtitles.hx b/source/funkin/play/components/Subtitles.hx index e55d426de..da52e6ad8 100644 --- a/source/funkin/play/components/Subtitles.hx +++ b/source/funkin/play/components/Subtitles.hx @@ -27,8 +27,6 @@ class Subtitles extends FlxSpriteGroup yOrigin = y; - if (!Preferences.subtitles) return; - background = new FlxSprite(0, 0); background.alpha = 0.5; add(background); @@ -43,7 +41,7 @@ class Subtitles extends FlxSpriteGroup { super.update(elapsed); - if (!Preferences.subtitles || assignedSound == null || subtitlesData == null) return; + if (assignedSound == null || subtitlesData == null) return; var currentLines:Array = []; var hasRefreshedText:Bool = false; @@ -74,8 +72,6 @@ class Subtitles extends FlxSpriteGroup */ public function assignSubtitles(filePath:String, sound:FlxSound):Void { - if (!Preferences.subtitles) return; - setText([], true); if (!Assets.exists(Paths.srt(filePath)) || sound == null) return; @@ -89,8 +85,6 @@ class Subtitles extends FlxSpriteGroup function setText(lines:Array, hide:Bool = false):Void { - if (!Preferences.subtitles) return; - visible = !hide; var targetText:String = '';