Commit 637948b
authored
Add delimiters around the "Enable the debug feature to see the name" message (#22532)
# Objective
A user on Discord was confused by this warning, assuming that the
message must be corrupted in some way:
`
warning[B0004]: Entity 290v0 with the Enable the debug feature to see
the name component has a parent (289v0 entity) without Enable the debug
feature to see the name.
This will cause inconsistent behaviors! See:
https://bevy.org/learn/errors/b0004
`
## Solution
Add some delimiters to the `FEATURE_DISABLED` string. This makes the
warning much more legible:
`
warning[B0004]: Entity 290v0 with the <Enable the debug feature to see
the name> component has a parent (289v0 entity) without <Enable the
debug feature to see the name>.
This will cause inconsistent behaviors! See:
https://bevy.org/learn/errors/b0004
`1 parent af782a8 commit 637948b
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
11 | | - | |
| 11 | + | |
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
| |||
0 commit comments