quantum-space-buddies/QSB/ShipSync/Messages/FunnelEnableMessage.cs

14 lines
315 B
C#

using QSB.Messaging;
using QSB.WorldSync;
namespace QSB.ShipSync.Messages
{
internal class FunnelEnableMessage : QSBMessage
{
public override bool ShouldReceive => QSBWorldSync.AllObjectsReady;
public override void OnReceiveRemote()
=> ShipManager.Instance.ShipTractorBeam.ActivateTractorBeam();
}
}