Skip to content

Commit

Permalink
call clear trackers on sub apps
Browse files Browse the repository at this point in the history
  • Loading branch information
hymm committed Dec 12, 2022
1 parent ba516cc commit f484fe0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions crates/bevy_app/src/app.rs
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,7 @@ impl SubApp {
/// run the `SubApp`'s schedule
pub fn run(&mut self) {
self.app.schedule.run(&mut self.app.world);
self.app.world.clear_trackers();
}

/// extract data from main world to sub app
Expand Down

0 comments on commit f484fe0

Please sign in to comment.