bevy/crates/bevy_diagnostic/src
Opstic 2b4fc10ccf
Initialize DiagnosticStore on register_diagnostic if it does not exist (#8819)
# Objective

- Fixes #8782

## Solution

- Call `init_resource` on `register_diagnostic` so that a
`DiagnosticStore` gets initialized if it does not exist.

---------

Co-authored-by: François <mockersf@gmail.com>
2023-06-12 19:40:09 +00:00
..
diagnostic.rs Initialize DiagnosticStore on register_diagnostic if it does not exist (#8819) 2023-06-12 19:40:09 +00:00
entity_count_diagnostics_plugin.rs Allow systems using Diagnostics to run in parallel (#8677) 2023-06-05 20:51:22 +00:00
frame_time_diagnostics_plugin.rs Allow systems using Diagnostics to run in parallel (#8677) 2023-06-05 20:51:22 +00:00
lib.rs Allow systems using Diagnostics to run in parallel (#8677) 2023-06-05 20:51:22 +00:00
log_diagnostics_plugin.rs Allow systems using Diagnostics to run in parallel (#8677) 2023-06-05 20:51:22 +00:00
system_information_diagnostics_plugin.rs Allow systems using Diagnostics to run in parallel (#8677) 2023-06-05 20:51:22 +00:00