quantum-space-buddies/QSB/ShipSync/Messages/ModuleDetachMessage.cs
2023-07-28 19:30:57 +01:00

11 lines
260 B
C#

using QSB.Messaging;
using QSB.ShipSync.WorldObjects;
namespace QSB.ShipSync.Messages;
public class ModuleDetachMessage : QSBWorldObjectMessage<QSBShipDetachableModule>
{
public override void OnReceiveRemote() =>
WorldObject.AttachedObject.Detach();
}