mirror of
https://github.com/WWhiteDreamProject/wwdpublic.git
synced 2026-04-18 05:59:03 +03:00
16 lines
448 B
C#
16 lines
448 B
C#
using Content.Server._Goobstation.Wizard.Components;
|
|
using Content.Server.Emp;
|
|
|
|
namespace Content.Server._Goobstation.Wizard.Systems;
|
|
|
|
public sealed class EmpImmuneSystem : EntitySystem
|
|
{
|
|
public override void Initialize()
|
|
{
|
|
base.Initialize();
|
|
SubscribeLocalEvent<EmpImmuneComponent, EmpAttemptEvent>(OnAttempt);
|
|
}
|
|
|
|
private void OnAttempt(Entity<EmpImmuneComponent> ent, ref EmpAttemptEvent args) => args.Cancel();
|
|
}
|