use flight console: turn on the stuff so it works

This commit is contained in:
JohnCorby 2022-06-07 20:07:24 -07:00
parent 5daeb40e15
commit e348efef88

View File

@ -3,6 +3,7 @@ using QSB.Messaging;
using QSB.ModelShip.TransformSync;
using QSB.Player;
using QSB.Player.TransformSync;
using QSB.Utility;
using QSB.WorldSync;
namespace QSB.ModelShip.Messages;
@ -59,6 +60,9 @@ internal class UseFlightConsole : QSBMessage<bool>
console._interactVolume.EnableInteraction();
}
QSBWorldSync.GetUnityObject<ModelShipController>()._detector.SetActive(Data);
QSBWorldSync.GetUnityObjects<ModelShipLandingSpot>().ForEach(x => x._owCollider.SetActivation(Data));
if (QSBCore.IsHost)
{
ModelShipTransformSync.LocalInstance.netIdentity.SetAuthority(Data