From 34d264c41350559a3de38f45dca8069fb439b40a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ludvig=20B=C3=B6klin?= Date: Fri, 25 Jun 2021 07:35:41 +0200 Subject: [PATCH] Fix rebase --- common/src/states/utils.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/src/states/utils.rs b/common/src/states/utils.rs index f266c78190..0fc8975529 100644 --- a/common/src/states/utils.rs +++ b/common/src/states/utils.rs @@ -340,7 +340,7 @@ pub fn handle_orientation(data: &JoinData, update: &mut StateUpdate, efficiency: .or_else(|| { data.physics .on_ground - .then_some(data.ori.look_dir().to_horizontal().unwrap_or_default()) + .map(|_| data.ori.look_dir().to_horizontal().unwrap_or_default()) }) { let rate = {