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

14 lines
321 B
C#
Raw Normal View History

2021-12-26 01:21:54 +00:00
using QSB.Messaging;
using QSB.WorldSync;
namespace QSB.ShipSync.Messages
{
internal class FunnelEnableMessage : QSBMessage
{
public override bool ShouldReceive => WorldObjectManager.AllObjectsReady;
public override void OnReceiveRemote()
=> ShipManager.Instance.ShipTractorBeam.ActivateTractorBeam();
}
}