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)