Skip to content

Commit 665036c

Browse files
authored
Fix fuel temp forgetfulness (#37850)
1 parent fd9da0e commit 665036c

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

code/modules/blacksmithing/forge.dm

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,6 @@
9696
switch(status)
9797
if(TRUE) //turning it off
9898
status = FALSE
99-
current_temp = 0
10099
processing_objects.Remove(src)
101100
if(FALSE)//turning it on
102101
status = TRUE
@@ -162,8 +161,10 @@
162161
//Prefer to burn through sheets over ores
163162
/obj/structure/forge/proc/has_fuel()
164163
fuel_time = max(0, fuel_time-1)
165-
if(fuel_time <= 0 && status)
166-
toggle_lit()
164+
if(fuel_time <= 0)
165+
current_temp = 0
166+
if(status)
167+
toggle_lit()
167168
return fuel_time
168169

169170
/obj/structure/forge/is_hot()

0 commit comments

Comments
 (0)