meta errors fix

This commit is contained in:
rewin
2024-04-03 21:40:47 +03:00
parent 6500031f6b
commit cbd17cdca6
5 changed files with 107 additions and 5 deletions
+4
View File
@@ -30,6 +30,10 @@ pub struct InspectorPlugin;
impl Plugin for InspectorPlugin {
fn build(&self, app: &mut App) {
#[cfg(not(feature = "wasm"))]
return;
if let Some(state) = app.world.get_resource::<StudioMode>() {
if *state == StudioMode::Headless {
return;