mirror of
https://github.com/misternebula/quantum-space-buddies.git
synced 2025-01-16 16:15:24 +00:00
remove broken screen prompt
This commit is contained in:
parent
d954ecf5cc
commit
c043e6a258
@ -40,11 +40,6 @@ internal class MultiplayerHUDManager : MonoBehaviour, IAddComponentOnStart
|
|||||||
|
|
||||||
public static ListStack<HUDIcon> HUDIconStack = new();
|
public static ListStack<HUDIcon> HUDIconStack = new();
|
||||||
|
|
||||||
private readonly ScreenPrompt _chatPrompt = new(
|
|
||||||
InputLibrary.enter,
|
|
||||||
QSBLocalization.Current.DetachFromShip + " <CMD>"
|
|
||||||
);
|
|
||||||
|
|
||||||
private void Start()
|
private void Start()
|
||||||
{
|
{
|
||||||
Instance = this;
|
Instance = this;
|
||||||
@ -68,8 +63,6 @@ internal class MultiplayerHUDManager : MonoBehaviour, IAddComponentOnStart
|
|||||||
Interloper = QSBCore.HUDAssetBundle.LoadAsset<Sprite>("Assets/MULTIPLAYER_UI/playerbox_interloper.png");
|
Interloper = QSBCore.HUDAssetBundle.LoadAsset<Sprite>("Assets/MULTIPLAYER_UI/playerbox_interloper.png");
|
||||||
WhiteHole = QSBCore.HUDAssetBundle.LoadAsset<Sprite>("Assets/MULTIPLAYER_UI/playerbox_whitehole.png");
|
WhiteHole = QSBCore.HUDAssetBundle.LoadAsset<Sprite>("Assets/MULTIPLAYER_UI/playerbox_whitehole.png");
|
||||||
SpaceSprite = QSBCore.HUDAssetBundle.LoadAsset<Sprite>("Assets/MULTIPLAYER_UI/playerbox_space.png");
|
SpaceSprite = QSBCore.HUDAssetBundle.LoadAsset<Sprite>("Assets/MULTIPLAYER_UI/playerbox_space.png");
|
||||||
|
|
||||||
Locator.GetPromptManager().AddScreenPrompt(_chatPrompt, PromptPosition.UpperRight);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
private const int LINE_COUNT = 11;
|
private const int LINE_COUNT = 11;
|
||||||
@ -157,7 +150,6 @@ internal class MultiplayerHUDManager : MonoBehaviour, IAddComponentOnStart
|
|||||||
|
|
||||||
_playerList.gameObject.SetActive(ServerSettingsManager.ShowExtraHUD);
|
_playerList.gameObject.SetActive(ServerSettingsManager.ShowExtraHUD);
|
||||||
|
|
||||||
_chatPrompt.SetVisibility(!_writingMessage);
|
|
||||||
|
|
||||||
if (OWInput.IsNewlyPressed(InputLibrary.enter, InputMode.Character) && !_writingMessage)
|
if (OWInput.IsNewlyPressed(InputLibrary.enter, InputMode.Character) && !_writingMessage)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user