diff --git a/src/logic/core/guns/shoot.rs b/src/logic/core/guns/shoot.rs index 100af57..fd3d683 100644 --- a/src/logic/core/guns/shoot.rs +++ b/src/logic/core/guns/shoot.rs @@ -12,6 +12,7 @@ pub fn shoot_bullet( towards: Vec3, caliber: Caliber ) { + // Spawn muzzle flash LIGHT commands.spawn( (PointLightBundle { point_light: PointLight { @@ -27,4 +28,6 @@ pub fn shoot_bullet( ..Default::default() }, MuzzleFlashMarker(Timer::new(Duration::from_millis(10), TimerMode::Once))) ); + + } \ No newline at end of file diff --git a/src/scenes/scene1/init.rs b/src/scenes/scene1/init.rs index cfc627f..e08d694 100644 --- a/src/scenes/scene1/init.rs +++ b/src/scenes/scene1/init.rs @@ -33,7 +33,6 @@ pub fn load_scene(application: &mut App) { application.add_systems(Update, follow_cursor_with_camera); application.add_systems(Update, load_animations); - application.add_systems(Update, set_skybox_if_loaded); application.add_systems(Update, update_camera_vertical_position); application.add_systems(Update, capture_hand_usage);