From 83d8030bea224178fb805e635e3641384f5dc930 Mon Sep 17 00:00:00 2001 From: Qustinnus Date: Tue, 28 Jan 2020 23:40:59 +0100 Subject: [PATCH] You can no longer build tables from rods or floor tiles (#48585) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 🆑 floyd fix: You can no longer dupe mats by making tables from rods /🆑 apparently you could use rods and floor tiles to finish tables, now you can only use sheets. fixes #48547 --- code/game/objects/structures/table_frames.dm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/code/game/objects/structures/table_frames.dm b/code/game/objects/structures/table_frames.dm index 11f8d557058..1091fe4ed42 100644 --- a/code/game/objects/structures/table_frames.dm +++ b/code/game/objects/structures/table_frames.dm @@ -31,7 +31,7 @@ return var/obj/item/stack/material = I - if (istype(I, /obj/item/stack)) + if (istype(material)) if(material?.tableVariant) if(material.get_amount() < 1) to_chat(user, "You need one [material.name] sheet to do this!") @@ -39,7 +39,7 @@ to_chat(user, "You start adding [material] to [src]...") if(do_after(user, 20, target = src) && material.use(1)) make_new_table(material.tableVariant) - else + else if(istype(material, /obj/item/stack/sheet)) if(material.get_amount() < 1) to_chat(user, "You need one sheet to do this!") return