From d5131fc4bfd5d3abfeaa58e80f830ec0f127a860 Mon Sep 17 00:00:00 2001 From: Leshana Date: Mon, 19 Feb 2018 23:31:05 -0500 Subject: [PATCH] Fixes #3518 - Runtime in circuit imprinter deconstruction. --- code/modules/research/circuitprinter.dm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/modules/research/circuitprinter.dm b/code/modules/research/circuitprinter.dm index 936330d00a..dae6575577 100644 --- a/code/modules/research/circuitprinter.dm +++ b/code/modules/research/circuitprinter.dm @@ -93,7 +93,7 @@ using metal and glass, it uses glass and reagents (usually sulphuric acid). if(materials[f] >= SHEET_MATERIAL_AMOUNT) var/path = getMaterialType(f) if(path) - var/obj/item/stack/S = new f(loc) + var/obj/item/stack/S = new path(loc) S.amount = round(materials[f] / SHEET_MATERIAL_AMOUNT) ..()