From 73ed077c3d71a3a0898c5d8155c34162f9f8c2a4 Mon Sep 17 00:00:00 2001 From: SkyratBot <59378654+SkyratBot@users.noreply.github.com> Date: Fri, 11 Sep 2020 23:01:17 +0200 Subject: [PATCH] [MIRROR] Fix incorrect proc signature for /mob/living/proc/Life (#734) * Fix incorrect proc signature for /mob/living/proc/Life (#53565) #52981 changed how Life() procs were called. It also forgot to re-define the Life proc signature after doing so. This gives Life the appropriate signature. Our intended breathing mechanic of once every 4 life ticks became every single life tick, effectively making mobs breathe 4 times as often as they should. Oh, my dear Atmos subsystem, how you must be crying in pain! * Fix incorrect proc signature for /mob/living/proc/Life Co-authored-by: Timberpoes --- code/modules/mob/living/life.dm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/modules/mob/living/life.dm b/code/modules/mob/living/life.dm index 22a11a8c7e8..7b8db83a969 100644 --- a/code/modules/mob/living/life.dm +++ b/code/modules/mob/living/life.dm @@ -1,7 +1,7 @@ /// This divisor controls how fast body temperature changes to match the environment #define BODYTEMP_DIVISOR 8 -/mob/living/proc/Life(seconds, times_fired) +/mob/living/proc/Life(times_fired) set waitfor = FALSE if((movement_type & FLYING) && !(movement_type & FLOATING)) //TODO: Better floating