From f8075fed94f531e832baf03e01bfc1f409230c7e Mon Sep 17 00:00:00 2001 From: Killian <49700375+KillianKirilenko@users.noreply.github.com> Date: Wed, 3 Jul 2024 08:19:00 +0100 Subject: [PATCH] Update life.dm (#16082) --- code/modules/mob/living/life.dm | 3 +++ 1 file changed, 3 insertions(+) diff --git a/code/modules/mob/living/life.dm b/code/modules/mob/living/life.dm index e0120970561..5af42528516 100644 --- a/code/modules/mob/living/life.dm +++ b/code/modules/mob/living/life.dm @@ -139,6 +139,7 @@ handle_drugged() handle_slurring() handle_confused() + handle_sleeping() /mob/living/proc/handle_stunned() if(stunned) @@ -298,8 +299,10 @@ if(stat != DEAD && toggled_sleeping) Sleeping(2) if(sleeping) + set_stat(UNCONSCIOUS) AdjustSleeping(-1) throw_alert("asleep", /obj/screen/alert/asleep) else + set_stat(CONSCIOUS) clear_alert("asleep") return sleeping