Use chain() for system dependency (#17387)

# Objective

Tiny PR to use chain() for system dependency, which is shorter/clearer
This commit is contained in:
Periwink 2025-01-15 13:48:18 -05:00 committed by GitHub
parent 237c6b207e
commit 64ab33c6a7
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -474,10 +474,8 @@ unsafe fn initialize_render_app(app: &mut App) {
// This set applies the commands from the extract schedule while the render schedule // This set applies the commands from the extract schedule while the render schedule
// is running in parallel with the main app. // is running in parallel with the main app.
apply_extract_commands.in_set(RenderSet::ExtractCommands), apply_extract_commands.in_set(RenderSet::ExtractCommands),
( (PipelineCache::process_pipeline_queue_system, render_system)
PipelineCache::process_pipeline_queue_system.before(render_system), .chain()
render_system,
)
.in_set(RenderSet::Render), .in_set(RenderSet::Render),
despawn_temporary_render_entities.in_set(RenderSet::PostCleanup), despawn_temporary_render_entities.in_set(RenderSet::PostCleanup),
), ),