From 3cc9d75681fb25551dca6b8d7a5ebd7c99a2ab6f Mon Sep 17 00:00:00 2001 From: dawnDus <96957561+dawndus@users.noreply.github.com> Date: Sat, 20 Aug 2022 21:22:45 -0400 Subject: [PATCH] Fix spur damage inaccuracy --- src/weapon/bullet.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/weapon/bullet.rs b/src/weapon/bullet.rs index 9a6af8b..99d963a 100644 --- a/src/weapon/bullet.rs +++ b/src/weapon/bullet.rs @@ -1531,6 +1531,8 @@ impl Bullet { return; } + self.damage = self.life as i16; + if self.action_num == 0 { self.action_num = 1;