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

12 lines
300 B
C#
Raw Normal View History

2022-05-14 12:18:48 +01:00
using QSB.Messaging;
2022-05-19 15:31:05 -07:00
using QSB.Patches;
2022-05-14 12:18:48 +01:00
using QSB.ShipSync.WorldObjects;
namespace QSB.ShipSync.Messages;
internal class ModuleDetachMessage : QSBWorldObjectMessage<QSBShipDetachableModule>
{
2022-05-19 15:31:05 -07:00
public override void OnReceiveRemote() =>
QSBPatch.RemoteCall(WorldObject.AttachedObject.Detach);
2022-05-14 12:18:48 +01:00
}