From 54f2e751393e844d71ff41219d0a41291ea9919a Mon Sep 17 00:00:00 2001 From: sector-a <82838084+sector-a@users.noreply.github.com> Date: Sun, 5 Oct 2025 22:46:24 +0300 Subject: [PATCH] remove video subtitles preference --- source/funkin/Preferences.hx | 21 -------------------- source/funkin/play/cutscene/VideoCutscene.hx | 2 +- source/funkin/save/Save.hx | 7 ------- 3 files changed, 1 insertion(+), 29 deletions(-) diff --git a/source/funkin/Preferences.hx b/source/funkin/Preferences.hx index a4197e621..372803134 100644 --- a/source/funkin/Preferences.hx +++ b/source/funkin/Preferences.hx @@ -267,27 +267,6 @@ class Preferences return value; } - #if FEATURE_VIDEO_SUBTITLES - /** - * If enabled, subtitles will be shown on video cutscenes. - * @default `true` - */ - public static var videoSubtitles(get, set):Bool; - - static function get_videoSubtitles():Bool - { - return Save?.instance?.options?.videoSubtitles ?? true; - } - - static function set_videoSubtitles(value:Bool):Bool - { - var save:Save = Save.instance; - save.options.videoSubtitles = value; - save.flush(); - return value; - } - #end - /** * If enabled, the game will automatically launch in fullscreen on startup. * @default `true` diff --git a/source/funkin/play/cutscene/VideoCutscene.hx b/source/funkin/play/cutscene/VideoCutscene.hx index 4f3baf200..bf8a19732 100644 --- a/source/funkin/play/cutscene/VideoCutscene.hx +++ b/source/funkin/play/cutscene/VideoCutscene.hx @@ -186,7 +186,7 @@ class VideoCutscene final fileOptions:Array = []; #if FEATURE_VIDEO_SUBTITLES - if (Preferences.videoSubtitles) + if (Preferences.subtitles) { fileOptions.push(':sub-language=$DEFAULT_LANGUAGE'); } diff --git a/source/funkin/save/Save.hx b/source/funkin/save/Save.hx index ab33a00bb..8ee59be79 100644 --- a/source/funkin/save/Save.hx +++ b/source/funkin/save/Save.hx @@ -128,7 +128,6 @@ class Save implements ConsoleClass hapticsMode: 'All', hapticsIntensityMultiplier: 1, autoPause: true, - videoSubtitles: true, vsyncMode: 'Off', strumlineBackgroundOpacity: 0, autoFullscreen: false, @@ -1643,12 +1642,6 @@ typedef SaveDataOptions = */ var autoPause:Bool; - /** - * If enabled, subtitles will be shown on video cutscenes. - * @default `true` - */ - var videoSubtitles:Bool; - /** * If enabled, the game will utilize VSync (or adaptive VSync) on startup. * @default `Off`