From acbb9953f31abfac1ce3be7327f7a20266280d0e Mon Sep 17 00:00:00 2001 From: SECBATON GRIFFON <87321915+SECBATON-GRIFFON@users.noreply.github.com> Date: Thu, 27 Jun 2024 00:56:16 +0100 Subject: [PATCH] Fixes IED casings being deleted when not made in hands (#36729) --- code/game/objects/items/weapons/grenades/ghettobomb.dm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/game/objects/items/weapons/grenades/ghettobomb.dm b/code/game/objects/items/weapons/grenades/ghettobomb.dm index dfdd20520459..f7452dc5e70b 100644 --- a/code/game/objects/items/weapons/grenades/ghettobomb.dm +++ b/code/game/objects/items/weapons/grenades/ghettobomb.dm @@ -3,7 +3,7 @@ //iedcasing assembly crafting// /obj/item/weapon/reagent_containers/food/drinks/soda_cans/attackby(var/obj/item/I, mob/user as mob) if(istype(I, /obj/item/device/assembly/igniter)) - var/obj/item/weapon/grenade/iedcasing/W = new /obj/item/weapon/grenade/iedcasing + var/obj/item/weapon/grenade/iedcasing/W = new /obj/item/weapon/grenade/iedcasing(loc) W.underlays += image(src.icon, icon_state = src.icon_state) user.create_in_hands(src, W, I, msg = "You stuff the [I] into the [src], emptying the contents beforehand.") else if(I.is_wirecutter(user))