mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-24 21:48:39 +01:00
CanPass refactor (#59804)
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