Skip to content

Commit

Permalink
Update src/tweenable.rs
Browse files Browse the repository at this point in the history
remove global trigger, as per suggestion

Co-authored-by: musjj <72612857+musjj@users.noreply.github.com>
  • Loading branch information
Peepo-Juice and musjj authored Nov 26, 2024
1 parent 1c98b2d commit 704d128
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/tweenable.rs
Original file line number Diff line number Diff line change
Expand Up @@ -799,8 +799,6 @@ impl<T> Tweenable<T> for Tween<T> {
// send regular event
events.send(event);

// trigger all global observers
commands.trigger(event);

// trigger all entity-scoped observers
commands.trigger_targets(event, [entity]);
Expand Down

0 comments on commit 704d128

Please sign in to comment.