From b84357e12f210ee340bfb2bc16861a55b6d0d825 Mon Sep 17 00:00:00 2001 From: Theos Date: Tue, 5 Dec 2023 23:35:30 -0500 Subject: [PATCH] Malleable glass fix (#2564) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ## About The Pull Request The "fill_icon" variable didn't seem to actually replace the icon file for glasses ![image](https://github.com/shiptest-ss13/Shiptest/assets/24857008/0c786c51-c273-480f-8562-5cf0ebb6c031) ## Why It's Good For The Game fixes #2372 ## Changelog 🆑 fix: malleable glasses now show their reagents again /🆑 --- code/modules/reagents/reagent_containers.dm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/modules/reagents/reagent_containers.dm b/code/modules/reagents/reagent_containers.dm index dca353500b42..735b232a6cd7 100644 --- a/code/modules/reagents/reagent_containers.dm +++ b/code/modules/reagents/reagent_containers.dm @@ -268,7 +268,7 @@ return var/fill_name = fill_icon_state? fill_icon_state : icon_state - var/mutable_appearance/filling = mutable_appearance('icons/obj/reagentfillings.dmi', "[fill_name][fill_icon_thresholds[1]]") + var/mutable_appearance/filling = mutable_appearance(fill_icon, "[fill_name][fill_icon_thresholds[1]]") var/percent = round((reagents.total_volume / volume) * 100) for(var/i in 1 to fill_icon_thresholds.len)