Skip to content

Commit

Permalink
apply buffers from the one off system (commands)
Browse files Browse the repository at this point in the history
  • Loading branch information
mockersf committed Jul 3, 2021
1 parent 3e3edab commit 446dee4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions crates/bevy_ecs/src/system/commands.rs
Original file line number Diff line number Diff line change
Expand Up @@ -430,6 +430,7 @@ impl Command for RunSystem {
fn write(mut self: Box<Self>, world: &mut World) {
self.system.initialize(world);
self.system.run((), world);
self.system.apply_buffers(world);
}
}

Expand Down

0 comments on commit 446dee4

Please sign in to comment.