Get it together (#19444)

This commit is contained in:
Vi3trice
2022-10-20 19:32:51 +01:00
committed by GitHub
parent 45877bcfa6
commit 7c1d8f9d1c
3 changed files with 10 additions and 1 deletions
@@ -38,6 +38,11 @@
qdel(parent)
parent = null
/obj/machinery/atmospherics/pipe/returnPipenet(obj/machinery/atmospherics/A)
if(A)
return // It's called by a moving mob that's already in the pipenet
return parent
/obj/machinery/atmospherics/pipe/detailed_examine()
return "This pipe, and all other pipes, can be connected or disconnected by a wrench. The internal pressure of the pipe must \
be below 300 kPa to do this. More pipes can be obtained from the pipe dispenser.<br> \
+4 -1
View File
@@ -548,7 +548,10 @@ GLOBAL_LIST_INIT(ventcrawl_machinery, list(/obj/machinery/atmospherics/unary/ven
return
/mob/living/update_pipe_vision(obj/machinery/atmospherics/target_move)
if(pipes_shown.len && !(target_move))
if(!client)
pipes_shown.Cut()
return
if(length(pipes_shown) && !target_move)
if(!is_ventcrawling(src))
remove_ventcrawl()
else
+1
View File
@@ -3,6 +3,7 @@
if(ranged_ability && client)
ranged_ability.remove_mousepointer(client)
..()
update_pipe_vision()
if(mind)
if(!key) //key and mind have become seperated. I believe this is for when a staff member aghosts.
mind.active = FALSE //This is to stop say, a mind.transfer_to call on a corpse causing a ghost to re-enter its body.