From edd97c0fb57406a0364da9f2abcc4c7bee4b6e05 Mon Sep 17 00:00:00 2001 From: Chris Russell <8494645+chescock@users.noreply.github.com> Date: Thu, 27 Jun 2024 11:47:22 -0400 Subject: [PATCH] Add missing StaticSystemParam::queue implementation. (#14051) # Objective `StaticSystemParam` should delegate all `SystemParam` methods to the inner param, but it looks like it was missed when the new `queue()` method was added in #10839. ## Solution Implement `StaticSystemParam::queue()` to delegate to the inner param. --- crates/bevy_ecs/src/system/system_param.rs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/crates/bevy_ecs/src/system/system_param.rs b/crates/bevy_ecs/src/system/system_param.rs index aae8e4e2e26f37..415b62e0ad8206 100644 --- a/crates/bevy_ecs/src/system/system_param.rs +++ b/crates/bevy_ecs/src/system/system_param.rs @@ -1609,6 +1609,10 @@ unsafe impl SystemParam for StaticSystemParam<'_, '_, P::apply(state, system_meta, world); } + fn queue(state: &mut Self::State, system_meta: &SystemMeta, world: DeferredWorld) { + P::queue(state, system_meta, world); + } + unsafe fn get_param<'world, 'state>( state: &'state mut Self::State, system_meta: &SystemMeta,