Files
Delta-v/Content.Server/Speech/EntitySystems/UnblockableSpeechSystem.cs
T
pathetic meowmeow 4736a8db6f Add cyborg wire panel (#5948)
* Add cyborg wire panel

* MORE WIRES RAAAGH

* file capitalization

* renamed

* more comments
2026-06-05 23:13:49 +02:00

19 lines
556 B
C#

using Content.Server.Speech.Components;
using Content.Shared.Chat;
namespace Content.Server.Speech.EntitySystems
{
public sealed class UnblockableSpeechSystem : EntitySystem
{
public override void Initialize()
{
SubscribeLocalEvent<UnblockableSpeechComponent, CheckIgnoreSpeechBlockerEvent>(OnCheck);
}
private void OnCheck(EntityUid uid, UnblockableSpeechComponent component, CheckIgnoreSpeechBlockerEvent args)
{
args.IgnoreBlocker = component.Active; // DeltaV
}
}
}