diff --git a/QSB/Menus/MenuManager.cs b/QSB/Menus/MenuManager.cs index 7fe90460..d73967fd 100644 --- a/QSB/Menus/MenuManager.cs +++ b/QSB/Menus/MenuManager.cs @@ -512,25 +512,6 @@ internal class MenuManager : MonoBehaviour, IAddComponentOnStart Delay.RunWhen(PlayerData.IsLoaded, () => SetButtonActive(ResumeGameButton, PlayerData.LoadLoopCount() > 1)); SetButtonActive(NewGameButton, true); - if (QSBCore.DebugSettings.SkipTitleScreen) - { - Application.runInBackground = true; - var titleScreenManager = FindObjectOfType(); - var titleScreenAnimation = titleScreenManager._cameraController; - const float small = 1 / 1000f; - titleScreenAnimation._gamepadSplash = false; - titleScreenAnimation._introPan = false; - titleScreenAnimation._fadeDuration = small; - titleScreenAnimation.Start(); - var titleAnimationController = titleScreenManager._gfxController; - titleAnimationController._logoFadeDelay = small; - titleAnimationController._logoFadeDuration = small; - titleAnimationController._echoesFadeDelay = small; - titleAnimationController._optionsFadeDelay = small; - titleAnimationController._optionsFadeDuration = small; - titleAnimationController._optionsFadeSpacing = small; - } - var mainMenuFontController = GameObject.Find("MainMenu").GetComponent(); mainMenuFontController.AddTextElement(HostButton.transform.GetChild(0).GetChild(1).GetComponent()); mainMenuFontController.AddTextElement(ConnectButton.transform.GetChild(0).GetChild(1).GetComponent()); diff --git a/QSB/QSBCore.cs b/QSB/QSBCore.cs index 96809533..b7107571 100644 --- a/QSB/QSBCore.cs +++ b/QSB/QSBCore.cs @@ -147,7 +147,6 @@ public class QSBCore : ModBehaviour if (DebugSettings.AutoStart) { DebugSettings.UseKcpTransport = true; - DebugSettings.SkipTitleScreen = true; DebugSettings.DebugMode = true; } diff --git a/QSB/Utility/DebugSettings.cs b/QSB/Utility/DebugSettings.cs index 4797a705..8933a621 100644 --- a/QSB/Utility/DebugSettings.cs +++ b/QSB/Utility/DebugSettings.cs @@ -23,9 +23,6 @@ public class DebugSettings [JsonProperty("autoStart")] public bool AutoStart; - [JsonProperty("skipTitleScreen")] - public bool SkipTitleScreen; - [JsonProperty("kickEveryone")] public bool KickEveryone; diff --git a/QSB/debugsettings.template.json b/QSB/debugsettings.template.json index e0b74b58..83abb2f6 100644 --- a/QSB/debugsettings.template.json +++ b/QSB/debugsettings.template.json @@ -5,7 +5,6 @@ "hookDebugLogs": false, "avoidTimeSync": false, "autoStart": false, - "skipTitleScreen": false, "kickEveryone": false, "debugMode": false, "drawGui": false, diff --git a/README.md b/README.md index b4a667ed..0c11f2cc 100644 --- a/README.md +++ b/README.md @@ -138,7 +138,6 @@ The template for this file is this : "hookDebugLogs": false, "avoidTimeSync": false, "autoStart": false, - "skipTitleScreen": false, "debugMode": false, "drawGui": false, "drawLines": false, @@ -155,7 +154,6 @@ The template for this file is this : - hookDebugLogs - Print Unity logs and warnings. - avoidTimeSync - Disables the syncing of time. - autoStart - Host/connect automatically for faster testing. -- skipTitleScreen - Auto-skips the splash screen. - debugMode - Enables debug mode. If this is set to `false`, none of the following settings do anything. - drawGui - Draws a GUI at the top of the screen that gives information on many things. - drawLines - Draws gizmo-esque lines around things. Indicates reference sectors/transforms, triggers, etc. LAGGY.