Merge pull request #49033 from Names-Are-Hard/borg-barrier-fix

Allows borgs and various other things through medical holobarriers
This commit is contained in:
ShizCalev
2020-01-28 04:50:32 -05:00
committed by GitHub
+6
View File
@@ -135,8 +135,14 @@
. = ..()
if(force_allaccess)
return TRUE
if(istype(mover, /obj/vehicle/ridden))
for(var/M in mover.buckled_mobs)
if(ishuman(M))
if(!CheckHuman(M))
return FALSE
if(ishuman(mover))
return CheckHuman(mover)
return TRUE
/obj/structure/holosign/barrier/medical/Bumped(atom/movable/AM)
. = ..()