mirror of
https://github.com/DeltaV-Station/Delta-v.git
synced 2026-09-30 08:07:28 +00:00
Co-authored-by: deltanedas <@deltanedas:kde.org> Co-authored-by: metalgearsloth <comedian_vs_clown@hotmail.com>
21 lines
602 B
C#
21 lines
602 B
C#
using Content.Server.Body.Components;
|
|
using Content.Server.Ghost.Roles.Events;
|
|
using Content.Server.Roles;
|
|
using Content.Server.Terminator.Components;
|
|
using Content.Shared.Roles;
|
|
using Robust.Shared.Map;
|
|
|
|
namespace Content.Server.Terminator.Systems;
|
|
|
|
/// <summary>
|
|
/// DeltaV - this is just used for paradox anomaly upstream doesnt use it anymore.
|
|
/// </summary>
|
|
public sealed class TerminatorSystem : EntitySystem
|
|
{
|
|
public void SetTarget(Entity<TerminatorComponent?> ent, EntityUid mindId)
|
|
{
|
|
ent.Comp ??= EnsureComp<TerminatorComponent>(ent);
|
|
ent.Comp.Target = mindId;
|
|
}
|
|
}
|