diff --git a/rust/src/player/local_player.rs b/rust/src/player/local_player.rs index 6b7aa9e..60f896f 100644 --- a/rust/src/player/local_player.rs +++ b/rust/src/player/local_player.rs @@ -202,6 +202,10 @@ impl IPlayer for LocalPlayer { fn try_shoot(&mut self, to: Vector3, deal_damage: bool) -> bool { if self.try_shoot_common(to, deal_damage) { + if let Some(weapon) = &mut self.weapon { + weapon.set_position(-Vector3::FORWARD); + weapon.set_rotation(Vector3::RIGHT * 0.5); + } if let Some(game) = &mut Game::singleton() && let Some(recorder) = game.bind_mut().recorder() {