diff --git a/src/weapon/mod.rs b/src/weapon/mod.rs index d22101b..fdc5afb 100644 --- a/src/weapon/mod.rs +++ b/src/weapon/mod.rs @@ -176,9 +176,10 @@ impl Weapon { self.empty_counter = self.empty_counter.saturating_sub(1); self.refire_timer = self.refire_timer.saturating_sub(1); - if self.refire_timer > 0 { - return; - } else if player.controller.trigger_shoot() { + if player.controller.trigger_shoot() { + if self.refire_timer > 0 { + return; + } self.refire_timer = 4; }