Skip to content

Commit

Permalink
Fixes IED casings being deleted when not made in hands (#36729)
Browse files Browse the repository at this point in the history
  • Loading branch information
SECBATON-GRIFFON authored Jun 26, 2024
1 parent 98e7e03 commit acbb995
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion code/game/objects/items/weapons/grenades/ghettobomb.dm
Original file line number Diff line number Diff line change
Expand Up @@ -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 = "<span class='notice'>You stuff the [I] into the [src], emptying the contents beforehand.</span>")
else if(I.is_wirecutter(user))
Expand Down

0 comments on commit acbb995

Please sign in to comment.