From 7c10307c36deda4149d62e82cd1ace6c19a0e824 Mon Sep 17 00:00:00 2001 From: Repede Date: Sat, 9 Mar 2024 11:31:05 -0500 Subject: [PATCH] fix icon state when refueling --- code/ATMOSPHERICS/components/station_boiler.dm | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/code/ATMOSPHERICS/components/station_boiler.dm b/code/ATMOSPHERICS/components/station_boiler.dm index 0d290c1e02..389e2d5740 100644 --- a/code/ATMOSPHERICS/components/station_boiler.dm +++ b/code/ATMOSPHERICS/components/station_boiler.dm @@ -80,10 +80,10 @@ var/global/list/stationboilers = list() //Should only ever have one, caching to update_icon() /obj/machinery/atmospherics/binary/stationboiler/update_icon() - if(stored_material[MAT_LOG] < wood_per_process) - icon_state = "boiler_off" - else + if(ignited) icon_state = "boiler_on" + else + icon_state = "boiler_off" return 1 // Attept to load materials. Returns 0 if item wasn't a stack of materials, otherwise 1 (even if failed to load)