From e13da0659594e09172c243a7b429bc351fea4d99 Mon Sep 17 00:00:00 2001 From: vuonojenmustaturska Date: Sat, 14 Apr 2018 15:20:14 +0300 Subject: [PATCH] unconscious check --- .../atmospherics/machinery/components/unary_devices/cryo.dm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/modules/atmospherics/machinery/components/unary_devices/cryo.dm b/code/modules/atmospherics/machinery/components/unary_devices/cryo.dm index 8a7b55da00f..d3dde7a18ea 100644 --- a/code/modules/atmospherics/machinery/components/unary_devices/cryo.dm +++ b/code/modules/atmospherics/machinery/components/unary_devices/cryo.dm @@ -277,7 +277,7 @@ /obj/machinery/atmospherics/components/unary/cryo_cell/MouseDrop_T(mob/target, mob/user) if(user.stat || user.lying || !Adjacent(user) || !user.Adjacent(target) || !iscarbon(target) || !user.IsAdvancedToolUser()) return - if (target.IsKnockdown() || target.IsStun() || target.IsSleeping()) + if (target.IsKnockdown() || target.IsStun() || target.IsSleeping() || target.IsUnconscious()) close_machine(target) else user.visible_message("[user] starts shoving [target] inside [src].", "You start shoving [target] inside [src].")