Fixes components staying hot after completion (#29506)

This commit is contained in:
PollardTheDragon
2025-06-01 12:13:55 -04:00
committed by GitHub
parent c283aa5d03
commit b0fdf5fec1
+1 -1
View File
@@ -38,7 +38,7 @@
update_icon(UPDATE_ICON_STATE)
/obj/item/smithed_item/component/proc/cool_off()
heat--
heat = max(heat - 1, 0)
if(heat)
addtimer(CALLBACK(src, PROC_REF(cool_off)), cool_time)
else