Remove unnecessary map

This commit is contained in:
timokoesters 2019-08-25 21:24:02 +02:00
parent 08fa6a3414
commit b89bfcbfc1
No known key found for this signature in database
GPG Key ID: CD80BE9AAEE78097

View File

@ -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 {