mirror of
https://github.com/bevyengine/bevy
synced 2024-11-10 07:04:33 +00:00
IntoSystemConfigs::chain_ignore_deferred
's return type fix (#13919)
# Objective Fixes #13917 ## Solution Changed `IntoSystemSetConfigs::chain_ignore_deferred`'s return type from `SystemConfigs` to `SystemSetConfigs` ## Testing Tried to run the `ecs_guide` example, where `chain` method is replaced by `chain_ignore_deferred` method ---
This commit is contained in:
parent
1b0475f234
commit
6b2d4834e9
1 changed files with 5 additions and 1 deletions
|
@ -650,7 +650,7 @@ where
|
|||
/// Ordering constraints will be applied between the successive elements.
|
||||
///
|
||||
/// Unlike [`chain`](Self::chain) this will **not** add [`apply_deferred`](crate::schedule::apply_deferred) on the edges.
|
||||
fn chain_ignore_deferred(self) -> SystemConfigs {
|
||||
fn chain_ignore_deferred(self) -> SystemSetConfigs {
|
||||
self.into_configs().chain_ignore_deferred()
|
||||
}
|
||||
}
|
||||
|
@ -721,6 +721,10 @@ impl IntoSystemSetConfigs for SystemSetConfigs {
|
|||
fn chain(self) -> Self {
|
||||
self.chain_inner()
|
||||
}
|
||||
|
||||
fn chain_ignore_deferred(self) -> Self {
|
||||
self.chain_ignore_deferred_inner()
|
||||
}
|
||||
}
|
||||
|
||||
impl<S: SystemSet> IntoSystemSetConfigs for S {
|
||||
|
|
Loading…
Reference in a new issue