diff --git a/pixlib/src/plugins/events_plugin.rs b/pixlib/src/plugins/events_plugin.rs index 3a01f88..dce7725 100644 --- a/pixlib/src/plugins/events_plugin.rs +++ b/pixlib/src/plugins/events_plugin.rs @@ -1,6 +1,6 @@ use bevy::{ app::{App, Plugin, Update}, - log::{info, warn}, + log::warn, prelude::{Event, EventReader, EventWriter, NonSend}, }; @@ -96,7 +96,7 @@ fn redistribute_sound_events( mut writer: EventWriter, ) { for evt in runner.events_out.sound.borrow_mut().drain(..) { - info!("Redistributing sound event {}", evt); + // info!("Redistributing sound event {}", evt); writer.send(PixlibSoundEvent(evt)); } } @@ -109,7 +109,7 @@ fn re_redistribute_sound_events( if evt_id.id > 100 { warn!("Postponed event ID: {}", evt_id.id); }; - warn!("Re-redistributing sound event {}", evt.0); + // warn!("Re-redistributing sound event {}", evt.0); re_writer.send(PixlibSoundEvent(evt.0.clone())); } } diff --git a/pixlib/src/plugins/graphics_plugin.rs b/pixlib/src/plugins/graphics_plugin.rs index 64bfe16..3ea7678 100644 --- a/pixlib/src/plugins/graphics_plugin.rs +++ b/pixlib/src/plugins/graphics_plugin.rs @@ -98,7 +98,7 @@ pub fn create_pool(mut commands: Commands) { fn run_if_any_script_loaded(mut reader: EventReader) -> bool { let mut any_script_loaded = false; for evt in reader.read() { - info!("Popped event: {:?}", evt); + // info!("Popped event: {:?}", evt); if matches!(evt.0, ScriptEvent::ScriptLoaded { .. }) { any_script_loaded = true; } @@ -142,7 +142,7 @@ pub fn assign_pool(mut query: Query<&mut GraphicsMarker>, runner: NonSend