Skip to content

Commit

Permalink
Update HushedSystem.cs
Browse files Browse the repository at this point in the history
  • Loading branch information
Vonsant authored Jan 1, 2025
1 parent a26827c commit 1bac562
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, 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 1bac562

Please sign in to comment.