mirror of
https://github.com/misternebula/quantum-space-buddies.git
synced 2025-01-01 03:32:38 +00:00
Update ShipCustomAttach.cs
This commit is contained in:
parent
1441dc4a32
commit
7472eb6936
@ -61,10 +61,12 @@ namespace QSB.ShipSync
|
||||
{
|
||||
transform.position = Locator.GetPlayerTransform().position;
|
||||
_playerAttachPoint.AttachPlayer();
|
||||
ShipManager.Instance.CockpitController._shipAudioController.PlayBuckle();
|
||||
}
|
||||
else if (attachedToUs && OWInput.IsNewlyPressed(InputLibrary.cancel, InputMode.Character))
|
||||
{
|
||||
_playerAttachPoint.DetachPlayer();
|
||||
ShipManager.Instance.CockpitController._shipAudioController.PlayUnbuckle();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user