6
StarHorizon_Public/Content.Shared/Interaction/SharedInteractionSystem.Relay.cs
2025-12-18 02:55:17 +03:00

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