From c043e6a258592e6b0945f24d0dd9694b45ba2650 Mon Sep 17 00:00:00 2001 From: _nebula <41904486+misternebula@users.noreply.github.com> Date: Sun, 7 May 2023 18:25:53 +0100 Subject: [PATCH] remove broken screen prompt --- QSB/HUD/MultiplayerHUDManager.cs | 8 -------- 1 file changed, 8 deletions(-) diff --git a/QSB/HUD/MultiplayerHUDManager.cs b/QSB/HUD/MultiplayerHUDManager.cs index a82f5233..92343757 100644 --- a/QSB/HUD/MultiplayerHUDManager.cs +++ b/QSB/HUD/MultiplayerHUDManager.cs @@ -40,11 +40,6 @@ internal class MultiplayerHUDManager : MonoBehaviour, IAddComponentOnStart public static ListStack HUDIconStack = new(); - private readonly ScreenPrompt _chatPrompt = new( - InputLibrary.enter, - QSBLocalization.Current.DetachFromShip + " " - ); - private void Start() { Instance = this; @@ -68,8 +63,6 @@ internal class MultiplayerHUDManager : MonoBehaviour, IAddComponentOnStart Interloper = QSBCore.HUDAssetBundle.LoadAsset("Assets/MULTIPLAYER_UI/playerbox_interloper.png"); WhiteHole = QSBCore.HUDAssetBundle.LoadAsset("Assets/MULTIPLAYER_UI/playerbox_whitehole.png"); SpaceSprite = QSBCore.HUDAssetBundle.LoadAsset("Assets/MULTIPLAYER_UI/playerbox_space.png"); - - Locator.GetPromptManager().AddScreenPrompt(_chatPrompt, PromptPosition.UpperRight); } private const int LINE_COUNT = 11; @@ -157,7 +150,6 @@ internal class MultiplayerHUDManager : MonoBehaviour, IAddComponentOnStart _playerList.gameObject.SetActive(ServerSettingsManager.ShowExtraHUD); - _chatPrompt.SetVisibility(!_writingMessage); if (OWInput.IsNewlyPressed(InputLibrary.enter, InputMode.Character) && !_writingMessage) {