/mob/living/proc/Life(delta_time) (#55534)

- Makes `/mob/living/proc/Life` and most related procs use `delta_time`
- Procs that had snowflaked timing systems, such as breathing, addiction, and advanced diseases were left unchanged.
This commit is contained in:
TemporalOroboros
2021-02-19 07:24:20 -08:00
committed by GitHub
parent 690d26004d
commit e2e7ccdbdc
198 changed files with 2965 additions and 2837 deletions
+2 -3
View File
@@ -25,12 +25,11 @@ GLOBAL_LIST_INIT(hallucination_list, list(
))
/mob/living/carbon/proc/handle_hallucinations()
/mob/living/carbon/proc/handle_hallucinations(delta_time, times_fired)
if(!hallucination)
return
hallucination = max(hallucination - 1, 0)
hallucination = max(hallucination - (0.5 * delta_time), 0)
if(world.time < next_hallucination)
return