mirror of
https://gitlab.com/veloren/veloren.git
synced 2024-08-30 18:12:32 +00:00
Remove unnecessary map
This commit is contained in:
parent
08fa6a3414
commit
b89bfcbfc1
@ -78,7 +78,6 @@ impl<'a> System<'a> for Sys {
|
||||
+ controller
|
||||
.move_dir
|
||||
.try_normalized()
|
||||
.map(|m| m)
|
||||
.unwrap_or(Vec2::from(vel.0).try_normalized().unwrap_or_default())
|
||||
* ROLL_SPEED
|
||||
} else {
|
||||
|
Loading…
Reference in New Issue
Block a user