bodytemperature

This commit is contained in:
Ty-Omaha
2018-09-13 08:01:48 -04:00
parent 72a0769def
commit 07f5971921
+1 -1
View File
@@ -210,5 +210,5 @@
return
/mob/proc/adjust_bodytemperature(amount, min_temp = 0, max_temp = INFINITY)
if(bodytemperature > min_temp && bodytemperature < max_temp)
if(bodytemperature >= min_temp && bodytemperature <= max_temp)
bodytemperature = Clamp(bodytemperature + amount, min_temp, max_temp)