Fixed projectiles reorienting once stickied

This commit is contained in:
Joshua Barretto 2020-08-31 10:31:24 +01:00
parent be3ceaf677
commit afe42e0b86

View File

@ -156,9 +156,7 @@ impl<'a> System<'a> for Sys {
_ => {},
}
}
}
if let Some(dir) = velocities
} else if let Some(dir) = velocities
.get(entity)
.and_then(|vel| vel.0.try_normalized())
{