From 1ec634f0687bbe388dafc820a4bd800fab56a1e6 Mon Sep 17 00:00:00 2001 From: pofitlo Date: Fri, 3 Jan 2025 01:52:29 +0400 Subject: [PATCH] fix --- .../Resomi/Abilities/Hearing/SharedListenUpSkillSystem.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Content.Shared/_CorvaxNext/Resomi/Abilities/Hearing/SharedListenUpSkillSystem.cs b/Content.Shared/_CorvaxNext/Resomi/Abilities/Hearing/SharedListenUpSkillSystem.cs index 42498179fe7..285d8284bdd 100644 --- a/Content.Shared/_CorvaxNext/Resomi/Abilities/Hearing/SharedListenUpSkillSystem.cs +++ b/Content.Shared/_CorvaxNext/Resomi/Abilities/Hearing/SharedListenUpSkillSystem.cs @@ -30,7 +30,7 @@ private void OnActivateListenUp(Entity ent, ref ListenUp } private void OnDoAfter(Entity ent, ref ListenUpDoAfterEvent args) { - if (ent.Comp.toggled) + if (args.Cancelled || args.Handled || ent.Comp.toggled) return; AddComp(ent.Owner);