Files
tbd-station-14/Content.Shared/Interaction/SharedInteractionSystem.Relay.cs

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);
}
}