mirror of
https://github.com/misternebula/quantum-space-buddies.git
synced 2025-01-04 02:47:22 +00:00
simplify raft dock slightly
This commit is contained in:
parent
b4dea30924
commit
531eb8f77d
@ -5,5 +5,5 @@ namespace QSB.EchoesOfTheEye.RaftSync.Messages;
|
|||||||
|
|
||||||
public class RaftDockOnPressInteractMessage : QSBWorldObjectMessage<QSBRaftDock>
|
public class RaftDockOnPressInteractMessage : QSBWorldObjectMessage<QSBRaftDock>
|
||||||
{
|
{
|
||||||
public override void OnReceiveRemote() => WorldObject.OnPressInteract();
|
public override void OnReceiveRemote() => WorldObject.AttachedObject.OnPressInteract();
|
||||||
}
|
}
|
||||||
|
@ -6,6 +6,4 @@ namespace QSB.EchoesOfTheEye.RaftSync.WorldObjects;
|
|||||||
public class QSBRaftDock : WorldObject<RaftDock>, IQSBDropTarget
|
public class QSBRaftDock : WorldObject<RaftDock>, IQSBDropTarget
|
||||||
{
|
{
|
||||||
IItemDropTarget IQSBDropTarget.AttachedObject => AttachedObject;
|
IItemDropTarget IQSBDropTarget.AttachedObject => AttachedObject;
|
||||||
|
|
||||||
public void OnPressInteract() => AttachedObject.OnPressInteract();
|
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user