From d466327540031bb62c13b2b50d639be873f30393 Mon Sep 17 00:00:00 2001 From: BlackCrystalic <39885003+blackcrystall@users.noreply.github.com> Date: Mon, 20 Jan 2025 04:47:04 +0500 Subject: [PATCH 1/2] funny, I like this bug... but I need to do qota, or my statistic pr will be ignored... sorry fellas on sniper, not today comrades... not today... --- code/modules/projectiles/guns/specialist/sniper.dm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/modules/projectiles/guns/specialist/sniper.dm b/code/modules/projectiles/guns/specialist/sniper.dm index 73ea4e990ad7..1dfd634cd628 100644 --- a/code/modules/projectiles/guns/specialist/sniper.dm +++ b/code/modules/projectiles/guns/specialist/sniper.dm @@ -101,7 +101,7 @@ return var/obj/item/weapon/gun/rifle/sniper/sniper_rifle = holder_item - if(world.time < sniper_rifle.aimed_shot_cooldown) + if(world.time < sniper_rifle.aimed_shot_cooldown || !sniper_rifle.able_to_fire(human)) return if(!check_can_use(target)) From cc308bb67792d6381b370c33d1653000110f321e Mon Sep 17 00:00:00 2001 From: BlackCrystalic <39885003+blackcrystall@users.noreply.github.com> Date: Mon, 20 Jan 2025 04:55:19 +0500 Subject: [PATCH 2/2] here for safety too --- code/modules/projectiles/guns/specialist/sniper.dm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/modules/projectiles/guns/specialist/sniper.dm b/code/modules/projectiles/guns/specialist/sniper.dm index 1dfd634cd628..b87908b44fa4 100644 --- a/code/modules/projectiles/guns/specialist/sniper.dm +++ b/code/modules/projectiles/guns/specialist/sniper.dm @@ -183,7 +183,7 @@ target.overlays -= lockon_direction_icon qdel(laser_beam) - if(!check_can_use(target, TRUE) || target.is_dead()) + if(!check_can_use(target, TRUE) || target.is_dead() || !sniper_rifle.able_to_fire(human)) return var/obj/projectile/aimed_proj = sniper_rifle.in_chamber