mirror of
https://github.com/misternebula/quantum-space-buddies.git
synced 2025-01-03 17:38:30 +00:00
use flight console: turn on the stuff so it works
This commit is contained in:
parent
5daeb40e15
commit
e348efef88
@ -3,6 +3,7 @@ using QSB.Messaging;
|
|||||||
using QSB.ModelShip.TransformSync;
|
using QSB.ModelShip.TransformSync;
|
||||||
using QSB.Player;
|
using QSB.Player;
|
||||||
using QSB.Player.TransformSync;
|
using QSB.Player.TransformSync;
|
||||||
|
using QSB.Utility;
|
||||||
using QSB.WorldSync;
|
using QSB.WorldSync;
|
||||||
|
|
||||||
namespace QSB.ModelShip.Messages;
|
namespace QSB.ModelShip.Messages;
|
||||||
@ -59,6 +60,9 @@ internal class UseFlightConsole : QSBMessage<bool>
|
|||||||
console._interactVolume.EnableInteraction();
|
console._interactVolume.EnableInteraction();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
QSBWorldSync.GetUnityObject<ModelShipController>()._detector.SetActive(Data);
|
||||||
|
QSBWorldSync.GetUnityObjects<ModelShipLandingSpot>().ForEach(x => x._owCollider.SetActivation(Data));
|
||||||
|
|
||||||
if (QSBCore.IsHost)
|
if (QSBCore.IsHost)
|
||||||
{
|
{
|
||||||
ModelShipTransformSync.LocalInstance.netIdentity.SetAuthority(Data
|
ModelShipTransformSync.LocalInstance.netIdentity.SetAuthority(Data
|
||||||
|
Loading…
Reference in New Issue
Block a user