diff --git a/src/camera.rs b/src/camera.rs index aae7401..93c1cd2 100644 --- a/src/camera.rs +++ b/src/camera.rs @@ -598,7 +598,7 @@ pub fn apply_input_to_player( if settings.rotation_stabilizer_active || key_input.pressed(settings.key_stop) { commands .entity(player_entity) - .insert(actor::WantsMaxRotation(mouse_speed as f64 * 0.1)); + .try_insert(actor::WantsMaxRotation(mouse_speed as f64 * 0.1)); } else { commands .entity(player_entity)