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:
SabreML
2020-09-25 21:16:01 +01:00
committed by GitHub
parent e64bdb02c1
commit 803f0d5f8d
6 changed files with 61 additions and 55 deletions
@@ -234,7 +234,7 @@
add_fingerprint(user)
/obj/structure/closet/attack_ai(mob/user)
if(isrobot(user) && Adjacent(user) && !istype(user.loc, /obj/machinery/atmospherics)) //Robots can open/close it, but not the AI
if(isrobot(user) && Adjacent(user)) //Robots can open/close it, but not the AI
attack_hand(user)
/obj/structure/closet/relaymove(mob/user)