From 5d82d0c0de6f27754031bb444bf138ccd4155d08 Mon Sep 17 00:00:00 2001 From: Chap Date: Mon, 11 Nov 2024 13:52:16 +0100 Subject: [PATCH] You can no longer see all pipes while in a cryocell (#27331) Co-authored-by: adrermail@gmail.com --- code/modules/mob/living/carbon/carbon_procs.dm | 3 +++ 1 file changed, 3 insertions(+) diff --git a/code/modules/mob/living/carbon/carbon_procs.dm b/code/modules/mob/living/carbon/carbon_procs.dm index d5cfe17fdb3..358f897240a 100644 --- a/code/modules/mob/living/carbon/carbon_procs.dm +++ b/code/modules/mob/living/carbon/carbon_procs.dm @@ -575,6 +575,9 @@ GLOBAL_LIST_INIT(ventcrawl_machinery, list(/obj/machinery/atmospherics/unary/ven remove_ventcrawl() else if(is_ventcrawling(src)) + var/obj/machinery/atmospherics/atmos_machine = loc + if(!atmos_machine.can_see_pipes()) + return if(target_move) remove_ventcrawl_images() var/obj/machinery/atmospherics/current_pipe = loc