Fix clippy lint in purple night

This commit is contained in:
Gwilym Inzani 2023-07-04 21:24:44 +01:00
parent 14c6542e7b
commit 284e30078f

View file

@ -1002,7 +1002,7 @@ impl SlimeData {
entity.sprite.set_sprite(sprite);
entity.velocity.x = match frame {
2 | 3 | 4 => (Number::new(1) / 5) * Number::new(*direction as i32),
2..=4 => (Number::new(1) / 5) * Number::new(*direction as i32),
_ => 0.into(),
};