mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-23 21:18:37 +01:00
Merge pull request #13587 from Menshin/negative_temp_freezer_fix_again
Fixes upgraded freezer going into negative Kelvin temperatures
This commit is contained in:
@@ -31,7 +31,7 @@
|
||||
H += M.rating
|
||||
for(var/obj/item/weapon/stock_parts/micro_laser/M in component_parts)
|
||||
T += M.rating
|
||||
min_temperature = T0C - (170 + (T*15))
|
||||
min_temperature = max(T0C - (170 + T*15), TCMB)
|
||||
current_heat_capacity = 1000 * ((H - 1) ** 2)
|
||||
|
||||
/obj/machinery/atmospherics/components/unary/cold_sink/freezer/attackby(obj/item/I, mob/user, params)
|
||||
|
||||
Reference in New Issue
Block a user