Fix connect loc not respecting phasing in some cases when it should (#61698)

This commit is contained in:
TiviPlus
2021-09-28 02:05:27 -07:00
committed by GitHub
parent 26df314593
commit 6317b7b5b8
5 changed files with 13 additions and 0 deletions
+3
View File
@@ -127,6 +127,9 @@
/obj/structure/window/proc/on_exit(datum/source, atom/movable/leaving, direction)
SIGNAL_HANDLER
if(leaving.movement_type & PHASING)
return
if(leaving == src)
return // Let's not block ourselves.