diff --git a/QSB/ShipSync/ShipCustomAttach.cs b/QSB/ShipSync/ShipCustomAttach.cs
index 617d94b6..2d6a0afb 100644
--- a/QSB/ShipSync/ShipCustomAttach.cs
+++ b/QSB/ShipSync/ShipCustomAttach.cs
@@ -19,9 +19,14 @@ public class ShipCustomAttach : MonoBehaviour
private PlayerAttachPoint _playerAttachPoint;
+ ///
+ /// uses a static field instead of a persistent condition cuz those are synced
+ ///
+ private static bool _tutorialPrompt = true;
+
private void Awake()
{
- Locator.GetPromptManager().AddScreenPrompt(_attachPrompt, PromptPosition.UpperRight);
+ Locator.GetPromptManager().AddScreenPrompt(_attachPrompt, _tutorialPrompt ? PromptPosition.Center : PromptPosition.UpperRight);
Locator.GetPromptManager().AddScreenPrompt(_detachPrompt, PromptPosition.UpperRight);
_playerAttachPoint = gameObject.AddComponent();
@@ -34,8 +39,8 @@ public class ShipCustomAttach : MonoBehaviour
{
if (Locator.GetPromptManager())
{
- Locator.GetPromptManager().RemoveScreenPrompt(_attachPrompt, PromptPosition.UpperRight);
- Locator.GetPromptManager().RemoveScreenPrompt(_detachPrompt, PromptPosition.UpperRight);
+ Locator.GetPromptManager().RemoveScreenPrompt(_attachPrompt);
+ Locator.GetPromptManager().RemoveScreenPrompt(_detachPrompt);
}
}
@@ -83,6 +88,13 @@ public class ShipCustomAttach : MonoBehaviour
transform.position = Locator.GetPlayerTransform().position;
_playerAttachPoint.AttachPlayer();
ShipManager.Instance.CockpitController._shipAudioController.PlayBuckle();
+
+ if (_tutorialPrompt)
+ {
+ _tutorialPrompt = false;
+ Locator.GetPromptManager().RemoveScreenPrompt(_attachPrompt);
+ Locator.GetPromptManager().AddScreenPrompt(_attachPrompt, PromptPosition.UpperRight);
+ }
}
}
}