diff --git a/src/camera.rs b/src/camera.rs index 13608df..6a8f08c 100644 --- a/src/camera.rs +++ b/src/camera.rs @@ -458,6 +458,9 @@ pub fn apply_input_to_player( key_input: Res>, q_windows: Query<&Window, With>, ) { + if settings.map_active || !settings.in_control() { + return; + } let player = q_player.get_single_mut(); if player.is_err() { return;