From 542b4e1bed314d5a19bd99179f5929eb22ff377e Mon Sep 17 00:00:00 2001 From: ArcaneDefence <51932756+ArcaneDefence@users.noreply.github.com> Date: Mon, 18 Apr 2022 07:36:04 -0600 Subject: [PATCH] Fixes grilled deep fried foods error sprite (#66240) --- code/datums/components/sizzle.dm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/datums/components/sizzle.dm b/code/datums/components/sizzle.dm index 1d9b9048f1b..5ddc0a687d7 100644 --- a/code/datums/components/sizzle.dm +++ b/code/datums/components/sizzle.dm @@ -17,7 +17,7 @@ /datum/component/sizzle/proc/setup_sizzle() var/atom/food = parent - var/icon/grill_marks = icon(initial(food.icon), initial(food.icon_state)) //we only want to apply grill marks to the initial icon_state for each object + var/icon/grill_marks = icon(food.icon, food.icon_state) grill_marks.Blend("#fff", ICON_ADD) //fills the icon_state with white (except where it's transparent) grill_marks.Blend(icon('icons/obj/kitchen.dmi', "grillmarks"), ICON_MULTIPLY) //adds grill marks and the remaining white areas become transparent sizzling = new(grill_marks)