1
0
mirror of https://github.com/misternebula/quantum-space-buddies.git synced 2025-01-17 01:13:05 +00:00
quantum-space-buddies/QSB/ShipSync/Messages/FunnelEnableMessage.cs

12 lines
304 B
C#
Raw Permalink 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;
2023-07-28 18:30:57 +00:00
public 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();
}