[MIRROR] /mob/living/proc/Life(delta_time) (#3509)

* /mob/living/proc/Life(delta_time)

* a

Co-authored-by: TemporalOroboros <TemporalOroboros@gmail.com>
Co-authored-by: Gandalf2k15 <jzo123@hotmail.com>
This commit is contained in:
SkyratBot
2021-02-19 17:55:52 +01:00
committed by GitHub
parent b3802820c1
commit d0dc199815
199 changed files with 2975 additions and 2853 deletions

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