mirror of
https://github.com/Yawn-Wider/YWPolarisVore.git
synced 2026-08-24 21:47:21 +01:00
fix sawn off shotguns (#16823)
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user