mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-27 22:17:32 +01:00
Fixes runtime in power hammer (#29139)
This commit is contained in:
@@ -47,6 +47,9 @@
|
||||
operation_time = max(ROUND_UP(initial(operation_time) * (1.3 - operation_mult)), 2)
|
||||
|
||||
/obj/machinery/smithing/power_hammer/operate(loops, mob/living/user)
|
||||
if(!working_component)
|
||||
to_chat(user, "<span class='notice'>There is no component in the machine.</span>")
|
||||
return
|
||||
if(!working_component.heat)
|
||||
to_chat(user, "<span class='notice'>[working_component] is too cold to properly shape.</span>")
|
||||
return
|
||||
|
||||
Reference in New Issue
Block a user