Skip to content

Commit

Permalink
Also register bar
Browse files Browse the repository at this point in the history
  • Loading branch information
cart committed Aug 8, 2024
1 parent abc1eda commit 1ce21a1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions crates/bevy_ecs/src/observer/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -455,6 +455,7 @@ impl World {
/// }
///
/// world.observe(trigger_map(Combined::Foo));
/// world.observe(trigger_map(Combined::Bar));
/// world.observe(|trigger: Trigger<Combined>| {
/// println!("Combined Event: {:?}", trigger.event());
/// });
Expand Down

0 comments on commit 1ce21a1

Please sign in to comment.