mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2025-12-11 10:11:09 +00:00
[MIRROR] CanPass refactor (#6527)
* CanPass refactor (#59804) * CanPass refactor Co-authored-by: Rohesie <rohesie@gmail.com>
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user