when running this system (simplified here):
pub fn test(query: Query<EntityMut>, resource: Res<SomeResource>) {
...
}
bevy panics immediately after rust compiles, saying:
error[B0002]: Res<project::SomeResource> in system project::test conflicts with a previous ResMut<project::SomeResource> access. Consider removing the duplicate access.
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
Encountered a panic in system `bevy_app::main_schedule::Main::run_main`!
is this a bug or is there something going on that I don't understand?