mirror of
https://github.com/storytold/storyteller-bevy.git
synced 2026-10-21 07:55:55 +00:00
meta errors fix
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user