diff --git a/src/cooldown.rs b/src/cooldown.rs index 3c9d50d..8232bff 100644 --- a/src/cooldown.rs +++ b/src/cooldown.rs @@ -10,8 +10,7 @@ pub(super) mod prelude { } pub(super) fn plugin(app: &mut App) { - app - .add_systems(PhysicsSchedule, tick.in_set(AvianPickupSystem::TickTimers)); + app.add_systems(PhysicsSchedule, tick.in_set(AvianPickupSystem::TickTimers)); } /// Timings taken from [`CWeaponPhysCannon::SecondaryAttack`](https://github.com/ValveSoftware/source-sdk-2013/blob/master/sp/src/game/server/hl2/weapon_physcannon.cpp#L2284) diff --git a/src/input.rs b/src/input.rs index d0fef00..f760d67 100644 --- a/src/input.rs +++ b/src/input.rs @@ -81,7 +81,11 @@ fn set_verbs_according_to_input( }; // Doing these checks now so that later systems can just call `unwrap` - let checks = [(has_global_transform, "GlobalTransform"), (has_shadow, "ShadowParams"), (has_error, "HoldError")]; + let checks = [ + (has_global_transform, "GlobalTransform"), + (has_shadow, "ShadowParams"), + (has_error, "HoldError"), + ]; for (has_component, component_name) in checks.iter() { if !has_component { error!( diff --git a/src/prop.rs b/src/prop.rs index 5c898de..b75c0f6 100644 --- a/src/prop.rs +++ b/src/prop.rs @@ -18,10 +18,10 @@ pub(super) fn plugin(app: &mut App) { pub(super) mod prelude { pub use super::{ ClampPickupPitchOverride, + HeldProp, PickupMassOverride, PreferredPickupDistanceOverride, PreferredPickupRotation, - HeldProp }; }