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 15, 2022
1 parent f506f74 commit 357549c
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 357549c

Please sign in to comment.