From 826018586079d81f03af8eea0ee78487e4b32381 Mon Sep 17 00:00:00 2001 From: Elijah Voigt Date: Sun, 10 Aug 2025 06:26:39 -0700 Subject: [PATCH] Add run_if to score manager system --- src/bin/flappy/main.rs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/bin/flappy/main.rs b/src/bin/flappy/main.rs index e7fc7b6..300f726 100644 --- a/src/bin/flappy/main.rs +++ b/src/bin/flappy/main.rs @@ -85,8 +85,7 @@ fn main() { update_tooltip.run_if(in_state(DebuggingState::On)), // TODO: Add run_if to this system hitbox_collision_handler, - // TODO: Add run_if to this system - manage_score, + manage_score.run_if(on_event::.or(on_event::)), ), ) .add_observer(flap)