Skip to content

Commit

Permalink
Update Content.Server/_CorvaxNext/Speech/EntitySystems/HushedSystem.cs
Browse files Browse the repository at this point in the history
Co-authored-by: FN <[email protected]>
  • Loading branch information
Vonsant and FireNameFN authored Jan 1, 2025
1 parent 8e053ae commit 6cc3bdb
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@ public sealed class HushedSystem : EntitySystem

public override void Initialize()
{
SubscribeLocalEvent<HushedComponent, ScreamActionEvent>(OnScreamAction, before: new[] { typeof(VocalSystem) });
SubscribeLocalEvent<HushedComponent, EmoteEvent>(OnEmote, before: new[] { typeof(VocalSystem) });
SubscribeLocalEvent<HushedComponent, ScreamActionEvent>(OnScreamAction, [typeof(VocalSystem)]);
SubscribeLocalEvent<HushedComponent, EmoteEvent>(OnEmote, before: [typeof(VocalSystem)]);
}

private void OnScreamAction(EntityUid uid, HushedComponent component, ScreamActionEvent args)
Expand Down

0 comments on commit 6cc3bdb

Please sign in to comment.