quantum-space-buddies/QSB/ShipSync/Messages/LegDetachMessage.cs
2022-05-19 15:31:05 -07:00

12 lines
294 B
C#

using QSB.Messaging;
using QSB.Patches;
using QSB.ShipSync.WorldObjects;
namespace QSB.ShipSync.Messages;
internal class LegDetachMessage : QSBWorldObjectMessage<QSBShipDetachableLeg>
{
public override void OnReceiveRemote() =>
QSBPatch.RemoteCall(WorldObject.AttachedObject.Detach);
}