diff --git a/src/player.rs b/src/player.rs index 4800317..0d1e01a 100644 --- a/src/player.rs +++ b/src/player.rs @@ -115,7 +115,7 @@ pub fn player_attack( } // Function to make the camera follow the plaeyr -pub fn camera_follow( +fn camera_follow( mut camera_query: Query<&mut Transform, (Without, With)>, player_x: f32, player_y: f32,