mirror of
https://github.com/misternebula/quantum-space-buddies.git
synced 2025-03-11 10:14:17 +00:00
Sync seat belt buckle sound
This commit is contained in:
parent
768b47c81c
commit
2d7821585c
@ -39,10 +39,12 @@ internal class FlyShipMessage : QSBMessage<bool>
|
||||
var shipCockpitController = ShipManager.Instance.CockpitController;
|
||||
if (Data)
|
||||
{
|
||||
QSBPlayerManager.GetPlayer(From).AudioController.PlayOneShot(AudioType.ShipCockpitBuckleUp);
|
||||
shipCockpitController._interactVolume.DisableInteraction();
|
||||
}
|
||||
else
|
||||
{
|
||||
QSBPlayerManager.GetPlayer(From).AudioController.PlayOneShot(AudioType.ShipCockpitUnbuckle);
|
||||
shipCockpitController._interactVolume.EnableInteraction();
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user