Skip to content

Commit

Permalink
simplify test_sync_removal
Browse files Browse the repository at this point in the history
  • Loading branch information
Vrixyz committed Dec 4, 2024
1 parent a580edb commit 6114896
Showing 1 changed file with 1 addition and 9 deletions.
10 changes: 1 addition & 9 deletions src/plugin/plugin.rs
Original file line number Diff line number Diff line change
Expand Up @@ -537,15 +537,7 @@ mod test {

// render only + remove entities
app.update();
// Fixed Update hasn´t run yet, so it's a risk of not having caught the removed event, which will be cleaned next frame.
app.update();
// render + physics
app.update();
// render only
app.update();
app.update();
// render + physics
app.update();
// Fixed Update hasn´t run yet, so it's a risk of not having caught the bevy removed event, which will be cleaned next frame.

let context = app
.world_mut()
Expand Down

0 comments on commit 6114896

Please sign in to comment.