mirror of
https://github.com/DeltaV-Station/Delta-v.git
synced 2026-10-01 16:47:26 +00:00
16 lines
406 B
C#
16 lines
406 B
C#
using Content.Shared.Interaction.Components;
|
|
|
|
namespace Content.Shared.Interaction;
|
|
|
|
public abstract partial class SharedInteractionSystem
|
|
{
|
|
public void SetRelay(EntityUid uid, EntityUid? relayEntity, InteractionRelayComponent? component = null)
|
|
{
|
|
if (!Resolve(uid, ref component))
|
|
return;
|
|
|
|
component.RelayEntity = relayEntity;
|
|
Dirty(uid, component);
|
|
}
|
|
}
|