From 7f7dced8b03faf95e10b6f908ed51a67f8537327 Mon Sep 17 00:00:00 2001
From: kevinz000 <2003111+kevinz000@users.noreply.github.com>
Date: Fri, 28 Feb 2020 06:15:08 -0700
Subject: [PATCH] no message for automated
---
code/modules/mob/living/carbon/human/human_mobility.dm | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/code/modules/mob/living/carbon/human/human_mobility.dm b/code/modules/mob/living/carbon/human/human_mobility.dm
index 36fde353b9..d2b700b1b9 100644
--- a/code/modules/mob/living/carbon/human/human_mobility.dm
+++ b/code/modules/mob/living/carbon/human/human_mobility.dm
@@ -8,7 +8,9 @@
set_resting(FALSE, FALSE)
return TRUE
else if(!CHECK_MOBILITY(src, MOBILITY_RESIST))
- to_chat(src, "You are unable to stand up right now.")
+ if(!automatic)
+ to_chat(src, "You are unable to stand up right now.")
+ return FALSE
else
var/totaldelay = 3 //A little bit less than half of a second as a baseline for getting up from a rest
if(getStaminaLoss() >= STAMINA_SOFTCRIT)