quantum-space-buddies/QSB/ShipSync/Messages/ModuleDetachMessage.cs
2022-08-28 22:21:20 -07:00

11 lines
262 B
C#

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