[MIRROR] Makes dressers not drop wood when they have the NODECONSTRUCT flag (#1435)

* Makes dressers not drop wood when they have the NODECONSTRUCT flag (#54534)

* Makes dressers not drop wood when they have the NODECONSTRUCT flag

Co-authored-by: Kylerace <kylerlumpkin1@gmail.com>
This commit is contained in:
SkyratBot
2020-10-23 06:12:55 +02:00
committed by GitHub
parent 40aa1a3c1f
commit ff7ef130dc
+2 -1
View File
@@ -16,7 +16,8 @@
return ..()
/obj/structure/dresser/deconstruct(disassembled = TRUE)
new /obj/item/stack/sheet/mineral/wood(drop_location(), 10)
if(!(flags_1 & NODECONSTRUCT_1))
new /obj/item/stack/sheet/mineral/wood(drop_location(), 10)
qdel(src)
/obj/structure/dresser/attack_hand(mob/user)