Convert /material to it's correct absolute path /datum/material (#7637)

This commit is contained in:
ShadowLarkens
2020-09-20 02:00:09 -07:00
committed by GitHub
parent 45dcc14270
commit 927c41c7a3
35 changed files with 167 additions and 167 deletions
+1 -1
View File
@@ -169,7 +169,7 @@
if ((pass_color || recipe.pass_color))
if(!color)
if(recipe.use_material)
var/material/MAT = get_material_by_name(recipe.use_material)
var/datum/material/MAT = get_material_by_name(recipe.use_material)
if(MAT.icon_colour)
O.color = MAT.icon_colour
else