Files
wwdpublic/Content.Server/_Goobstation/Wizard/Systems/EmpImmuneSystem.cs
Spatison 2a10c02eb5 No spead merge (#475)
* Revert "[GoobPort] WIZ REAL (#465)"

This reverts commit 091a8ff433.

* fix local
2025-04-26 10:50:32 +03:00

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