File tree Expand file tree Collapse file tree 1 file changed +7
-1
lines changed
crates/bevy_ecs/src/schedule Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -252,8 +252,14 @@ impl SystemStage {
252252 unresolved_count += at_end. len ( ) ;
253253
254254 if unresolved_count > 0 {
255- println ! ( "\n One of your stages contains {unresolved_count} pairs of systems with unknown order and conflicting data access. \
255+ // Grammar
256+ if unresolved_count == 1 {
257+ println ! ( "\n One of your stages contains 1 pair of systems with unknown order and conflicting data access. \
256258 You may want to add `.before()` or `.after()` constraints between some of these systems to prevent bugs.\n ") ;
259+ } else {
260+ println ! ( "\n One of your stages contains {unresolved_count} pairs of systems with unknown order and conflicting data access. \
261+ You may want to add `.before()` or `.after()` constraints between some of these systems to prevent bugs.\n ") ;
262+ }
257263
258264 if report_level == ReportExecutionOrderAmbiguities :: Minimal {
259265 println ! ( "Set the level of the `ReportExecutionOrderAmbiguities` resource to `AmbiguityReportLevel::Verbose` for more details." ) ;
You can’t perform that action at this time.
0 commit comments