Fixes #3518 - Runtime in circuit imprinter deconstruction.

This commit is contained in:
Leshana
2018-02-19 23:31:05 -05:00
parent d498beffdb
commit d5131fc4bf
+1 -1
View File
@@ -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)
..()