Merge pull request #13758 from denghis1/bugfix_drones_opening_lockers_while_in_vent

bugfix: drones opening or closing lockers while ventcrawling
This commit is contained in:
Fox McCloud
2020-07-09 16:47:28 -04:00
committed by GitHub
@@ -230,7 +230,7 @@
add_fingerprint(user)
/obj/structure/closet/attack_ai(mob/user)
if(isrobot(user) && Adjacent(user)) //Robots can open/close it, but not the AI
if(isrobot(user) && Adjacent(user) && !istype(user.loc, /obj/machinery/atmospherics)) //Robots can open/close it, but not the AI
attack_hand(user)
/obj/structure/closet/relaymove(mob/user)