Skip to content

Commit c08d853

Browse files
committed
add validate_param impls
1 parent 1623043 commit c08d853

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

crates/bevy_ecs/src/system/combinator.rs

+8
Original file line numberDiff line numberDiff line change
@@ -395,6 +395,14 @@ where
395395
self.b.queue_deferred(world);
396396
}
397397

398+
unsafe fn validate_param_unsafe(&self, world: UnsafeWorldCell) -> bool {
399+
self.a.validate_param_unsafe(world) && self.b.validate_param_unsafe(world)
400+
}
401+
402+
fn validate_param(&mut self, world: &World) -> bool {
403+
self.a.validate_param(world) && self.b.validate_param(world)
404+
}
405+
398406
fn initialize(&mut self, world: &mut World) {
399407
self.a.initialize(world);
400408
self.b.initialize(world);

0 commit comments

Comments
 (0)