mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-07-18 11:36:24 +01:00
[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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user