From 4f3818e4089be26f7ac3fc5af76d1ebc1030eb4b Mon Sep 17 00:00:00 2001 From: Kearel Date: Fri, 24 Jul 2015 00:18:24 -0500 Subject: [PATCH] Modified bookshelf wood spawning code --- code/modules/library/lib_items.dm | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/code/modules/library/lib_items.dm b/code/modules/library/lib_items.dm index 56bd0de81b..5ed8303265 100644 --- a/code/modules/library/lib_items.dm +++ b/code/modules/library/lib_items.dm @@ -46,8 +46,7 @@ if(do_after(user,25)) if(!src) return user << "You dismantle the [src.name]." - var/obj/item/stack/w = new /obj/item/stack/material/wood(get_turf(src)) - w.amount = 3 + new /obj/item/stack/material/wood(get_turf(src), amount = 3) for(var/obj/item/weapon/book/b in contents) b.loc = (get_turf(src)) qdel(src)