Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
pofitlo-Git committed Jan 2, 2025
1 parent bd22e24 commit 1ec634f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ private void OnActivateListenUp(Entity<ListenUpSkillComponent> ent, ref ListenUp
}
private void OnDoAfter(Entity<ListenUpSkillComponent> ent, ref ListenUpDoAfterEvent args)
{
if (ent.Comp.toggled)
if (args.Cancelled || args.Handled || ent.Comp.toggled)
return;

AddComp<ListenUpComponent>(ent.Owner);
Expand Down

0 comments on commit 1ec634f

Please sign in to comment.