CanPass refactor (#59804)

This commit is contained in:
Rohesie
2021-06-25 13:36:00 -07:00
committed by GitHub
parent 417f342a84
commit 82dc71c3ae
63 changed files with 171 additions and 155 deletions
+1 -1
View File
@@ -802,7 +802,7 @@ GLOBAL_LIST_INIT(hallucination_list, list(
target.playsound_local(get_turf(airlock), 'sound/machines/boltsup.ogg',30,0,3)
qdel(src)
/obj/effect/hallucination/fake_door_lock/CanAllowThrough(atom/movable/mover, turf/_target)
/obj/effect/hallucination/fake_door_lock/CanAllowThrough(atom/movable/mover, border_dir)
. = ..()
if(mover == target && airlock.density)
return FALSE