From 65a8f71668aefd9a21e082581b9b970e251ceb95 Mon Sep 17 00:00:00 2001 From: ToGWtF Date: Wed, 27 May 2020 06:26:48 -0700 Subject: [PATCH] Fixes sprite --- code/modules/projectiles/guns/ballistic/shotgun.dm | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/code/modules/projectiles/guns/ballistic/shotgun.dm b/code/modules/projectiles/guns/ballistic/shotgun.dm index dd8621ff60c1..b92d85651656 100644 --- a/code/modules/projectiles/guns/ballistic/shotgun.dm +++ b/code/modules/projectiles/guns/ballistic/shotgun.dm @@ -194,6 +194,9 @@ ..() if(istype(A, /obj/item/stack/cable_coil) && !sawn_off) var/obj/item/stack/cable_coil/C = A + if(slung) + to_chat(user, "The shotgun already has a sling.") + return if(C.use(10)) slot_flags = ITEM_SLOT_BACK to_chat(user, "You tie the lengths of cable to the shotgun, making a sling.") @@ -205,7 +208,8 @@ /obj/item/gun/ballistic/shotgun/doublebarrel/improvised/update_icon() ..() if(slung) - add_overlay("improvised_sling") + icon_state = "ishotgunsling" + /obj/item/gun/ballistic/shotgun/doublebarrel/improvised/sawoff(mob/user) . = ..()