From 5c0e78cb8a4ec4add4594964e6cead694513d492 Mon Sep 17 00:00:00 2001 From: extrawurst Date: Tue, 9 Dec 2025 08:23:59 -0500 Subject: [PATCH] fix impulse of head/key drops --- crates/server/src/head_drop.rs | 17 ++++------------- crates/shared/src/head_drop.rs | 4 ++++ crates/shared/src/keys.rs | 9 ++++----- crates/shared/src/utils/one_shot_force.rs | 8 ++++---- 4 files changed, 16 insertions(+), 22 deletions(-) diff --git a/crates/server/src/head_drop.rs b/crates/server/src/head_drop.rs index 7473228..f85c1b2 100644 --- a/crates/server/src/head_drop.rs +++ b/crates/server/src/head_drop.rs @@ -12,7 +12,7 @@ use shared::{ player::Player, protocol::{GltfSceneRoot, PlaySound}, utils::{ - billboards::Billboard, one_shot_force::OneShotForce, squish_animation::SquishAnimation, + billboards::Billboard, one_shot_force::OneShotImpulse, squish_animation::SquishAnimation, }, }; use std::f32::consts::PI; @@ -28,15 +28,9 @@ fn on_head_drop( time: Res