File tree 2 files changed +2
-1
lines changed
crates/bevy_ecs/src/schedule 2 files changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -47,6 +47,7 @@ impl_downcast!(Stage);
47
47
///
48
48
/// The checker may report a system more times than the amount of constraints it would actually need
49
49
/// to have unambiguous order with regards to a group of already-constrained systems.
50
+ #[ derive( Default ) ]
50
51
pub struct ReportExecutionOrderAmbiguities ;
51
52
52
53
/// Stores and executes systems. Execution order is not defined unless explicitly specified;
Original file line number Diff line number Diff line change @@ -334,7 +334,7 @@ fn main() {
334
334
// Be aware that not everything reported by this checker is a potential problem, you'll have
335
335
// to make that judgement yourself.
336
336
. add_plugin ( LogPlugin :: default ( ) )
337
- . insert_resource ( ReportExecutionOrderAmbiguities )
337
+ . init_resource :: < ReportExecutionOrderAmbiguities > ( )
338
338
// This call to run() starts the app we just built!
339
339
. run ( ) ;
340
340
}
You can’t perform that action at this time.
0 commit comments