mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-07-21 03:55:05 +01:00
Fixes components staying hot after completion (#29506)
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user