Merge pull request #13028 from farie82/barrier-walking

Walking through barriers now also lets a dragged carbon get through
This commit is contained in:
Fox McCloud
2020-03-14 15:11:40 -04:00
committed by GitHub
+1 -1
View File
@@ -57,7 +57,7 @@
return TRUE
if(iscarbon(mover))
var/mob/living/carbon/C = mover
if(allow_walk && C.m_intent == MOVE_INTENT_WALK)
if(allow_walk && (C.m_intent == MOVE_INTENT_WALK || (C.pulledby && C.pulledby.m_intent == MOVE_INTENT_WALK)))
return TRUE
/obj/structure/holosign/barrier/engineering