From 023d179c9c124757ebbb7cbae84282938952ec88 Mon Sep 17 00:00:00 2001 From: Charlie <69320440+hal9000PR@users.noreply.github.com> Date: Thu, 23 Jun 2022 14:08:58 +0100 Subject: [PATCH] fuckup of the yar (#18060) --- code/modules/mob/living/status_procs.dm | 2 ++ 1 file changed, 2 insertions(+) diff --git a/code/modules/mob/living/status_procs.dm b/code/modules/mob/living/status_procs.dm index f25c75af02d..92ed8060f4b 100644 --- a/code/modules/mob/living/status_procs.dm +++ b/code/modules/mob/living/status_procs.dm @@ -371,6 +371,8 @@ return 0 /mob/living/proc/Sleeping(amount, ignore_canstun = FALSE) + if(frozen) // If the mob has been admin frozen, sleeping should not be changeable + return if(status_flags & GODMODE) return var/datum/status_effect/incapacitating/sleeping/S = IsSleeping()