From 1ce21a1777bd85fb8303c2c20efd542432c09abd Mon Sep 17 00:00:00 2001 From: Carter Anderson Date: Thu, 8 Aug 2024 12:38:03 -0700 Subject: [PATCH] Also register bar --- crates/bevy_ecs/src/observer/mod.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/crates/bevy_ecs/src/observer/mod.rs b/crates/bevy_ecs/src/observer/mod.rs index 9956b2b9206f8..5c0b0a7ed4cfa 100644 --- a/crates/bevy_ecs/src/observer/mod.rs +++ b/crates/bevy_ecs/src/observer/mod.rs @@ -455,6 +455,7 @@ impl World { /// } /// /// world.observe(trigger_map(Combined::Foo)); +/// world.observe(trigger_map(Combined::Bar)); /// world.observe(|trigger: Trigger| { /// println!("Combined Event: {:?}", trigger.event()); /// });