mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-07-12 07:33:34 +01:00
Stops maintenance drones from clicking stuff while ventcrawling (#14415)
* Adds 'is_ventcrawling' as a mob define * General cleanup * Halts 'ClickOn' for borgs if ventcrawling * Removes ctrl-clicking fire alarms * Missed a var Only used in the ctrl clicking thing, so bye bye
This commit is contained in:
@@ -514,10 +514,10 @@ GLOBAL_LIST_INIT(ventcrawl_machinery, list(/obj/machinery/atmospherics/unary/ven
|
||||
|
||||
/mob/living/update_pipe_vision()
|
||||
if(pipes_shown.len)
|
||||
if(!istype(loc, /obj/machinery/atmospherics))
|
||||
if(!is_ventcrawling(src))
|
||||
remove_ventcrawl()
|
||||
else
|
||||
if(istype(loc, /obj/machinery/atmospherics))
|
||||
if(is_ventcrawling(src))
|
||||
add_ventcrawl(loc)
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user