diff --git a/code/modules/library/lib_items.dm b/code/modules/library/lib_items.dm index 56bd0de81b7..5ed83032652 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)