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

12 lines
306 B
C#
Raw Normal View History

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