You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fix a comment error in example system_stepping.rs (#20663)
# Objective
Examples ECS system_stepping.rs :
```rust
println!(
r#"
....................................
in order of one, two, three. Stepping stops system execution in
the Update schedule when it encounters the breakpoint for
update_system_three(). // <------
................."#
);
let mut stepping = app.world_mut().resource_mut::<Stepping>();
stepping.set_breakpoint(Update, update_system_two); // <------
stepping.continue_frame();
app.update();
....................
```
I think this should be "breakpoint for update_system_two()." instead of
"breakpoint for update_system_three().".
## Solution
Change `update_system_three` to `update_system_two` in `println!` .
## Testing
Only modified one comment, not tested.
0 commit comments