From 0c3ab5d8ad8cee51437cccc45ebcf1c71f92adb7 Mon Sep 17 00:00:00 2001 From: Franklin Blanco Date: Wed, 8 Nov 2023 13:24:17 -0800 Subject: [PATCH] continue in mac --- src/logic/core/guns/shoot.rs | 3 +++ src/scenes/scene1/init.rs | 1 - 2 files changed, 3 insertions(+), 1 deletion(-) 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);