From f7fa0eee62ee204aad71ac626c68e8ee1b039113 Mon Sep 17 00:00:00 2001 From: Kashargul <144968721+Kashargul@users.noreply.github.com> Date: Fri, 3 Jan 2025 08:16:24 +0100 Subject: [PATCH] fix sawn off shotguns (#16823) --- code/modules/projectiles/guns/projectile/shotgun.dm | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/code/modules/projectiles/guns/projectile/shotgun.dm b/code/modules/projectiles/guns/projectile/shotgun.dm index 9ac452db9f..16b401b454 100644 --- a/code/modules/projectiles/guns/projectile/shotgun.dm +++ b/code/modules/projectiles/guns/projectile/shotgun.dm @@ -173,10 +173,10 @@ //this is largely hacky and bad :( -Pete //less hacky and bad now :) -Ghost /obj/item/gun/projectile/shotgun/doublebarrel/attackby(var/obj/item/A as obj, mob/user as mob) - if(sawn_off) - to_chat(user, span_warning("The [src] is already shortened!")) - return if(istype(A, /obj/item/surgical/circular_saw) || istype(A, /obj/item/melee/energy) || istype(A, /obj/item/pickaxe/plasmacutter)) + if(sawn_off) + to_chat(user, span_warning("The [src] is already shortened!")) + return to_chat(user, span_notice("You begin to shorten the barrel of \the [src].")) if(loaded.len) var/burstsetting = burst