Fixes tower cap logs being choppable in bags (#18939)

This commit is contained in:
Adri
2022-08-31 15:06:16 +01:00
committed by GitHub
parent 34e0831041
commit 072fc6e1d5
@@ -52,6 +52,9 @@
/obj/item/grown/log/attackby(obj/item/W, mob/user, params)
if(is_sharp(W))
if(in_inventory)
to_chat(user, "<span class='warning'>You need to place [src] on a flat surface to make [plank_name].</span>")
return
user.show_message("<span class='notice'>You make [plank_name] out of \the [src]!</span>", 1)
var/seed_modifier = 0
if(seed)