Skip to content

Commit 6114896

Browse files
committed
simplify test_sync_removal
1 parent a580edb commit 6114896

File tree

1 file changed

+1
-9
lines changed

1 file changed

+1
-9
lines changed

Diff for: src/plugin/plugin.rs

+1-9
Original file line numberDiff line numberDiff line change
@@ -537,15 +537,7 @@ mod test {
537537

538538
// render only + remove entities
539539
app.update();
540-
// Fixed Update hasn´t run yet, so it's a risk of not having caught the removed event, which will be cleaned next frame.
541-
app.update();
542-
// render + physics
543-
app.update();
544-
// render only
545-
app.update();
546-
app.update();
547-
// render + physics
548-
app.update();
540+
// 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.
549541

550542
let context = app
551543
.world_mut()

0 commit comments

Comments
 (0)