You can no longer see all pipes while in a cryocell (#27331)

Co-authored-by: adrermail@gmail.com <adrermail@gmail.com>
This commit is contained in:
Chap
2024-11-11 13:52:16 +01:00
committed by GitHub
parent 2fa0d8367e
commit 5d82d0c0de
@@ -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