Skip to content

Commit 1baa1a1

Browse files
authored
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.
1 parent e813326 commit 1baa1a1

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

crates/bevy_ecs/src/system/system_param.rs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1609,6 +1609,10 @@ unsafe impl<P: SystemParam + 'static> SystemParam for StaticSystemParam<'_, '_,
16091609
P::apply(state, system_meta, world);
16101610
}
16111611

1612+
fn queue(state: &mut Self::State, system_meta: &SystemMeta, world: DeferredWorld) {
1613+
P::queue(state, system_meta, world);
1614+
}
1615+
16121616
unsafe fn get_param<'world, 'state>(
16131617
state: &'state mut Self::State,
16141618
system_meta: &SystemMeta,

0 commit comments

Comments
 (0)