Use chain() for system dependency (#17387)
# Objective Tiny PR to use chain() for system dependency, which is shorter/clearer
This commit is contained in:
		
							parent
							
								
									237c6b207e
								
							
						
					
					
						commit
						64ab33c6a7
					
				| @ -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
 | ||||
|                 // is running in parallel with the main app.
 | ||||
|                 apply_extract_commands.in_set(RenderSet::ExtractCommands), | ||||
|                 ( | ||||
|                     PipelineCache::process_pipeline_queue_system.before(render_system), | ||||
|                     render_system, | ||||
|                 ) | ||||
|                 (PipelineCache::process_pipeline_queue_system, render_system) | ||||
|                     .chain() | ||||
|                     .in_set(RenderSet::Render), | ||||
|                 despawn_temporary_render_entities.in_set(RenderSet::PostCleanup), | ||||
|             ), | ||||
|  | ||||
		Loading…
	
		Reference in New Issue
	
	Block a user
	 Periwink
						Periwink