File tree 1 file changed +7
-1
lines changed
crates/bevy_ecs/src/schedule
1 file changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -252,8 +252,14 @@ impl SystemStage {
252
252
unresolved_count += at_end. len ( ) ;
253
253
254
254
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. \
256
258
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
+ }
257
263
258
264
if report_level == ReportExecutionOrderAmbiguities :: Minimal {
259
265
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