Skip to content

Commit

Permalink
Fix connect loc not respecting phasing in some cases when it should (t…
Browse files Browse the repository at this point in the history
  • Loading branch information
TiviPlus committed Sep 28, 2021
1 parent 26df314 commit 6317b7b
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 0 deletions.
2 changes: 2 additions & 0 deletions code/game/machinery/doors/firedoor.dm
Expand Up @@ -279,6 +279,8 @@

/obj/machinery/door/firedoor/border_only/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.

Expand Down
2 changes: 2 additions & 0 deletions code/game/machinery/doors/windowdoor.dm
Expand Up @@ -140,6 +140,8 @@

/obj/machinery/door/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.
Expand Down
3 changes: 3 additions & 0 deletions code/game/objects/structures/windoor_assembly.dm
Expand Up @@ -77,6 +77,9 @@
/obj/structure/windoor_assembly/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.

Expand Down
3 changes: 3 additions & 0 deletions code/game/objects/structures/window.dm
Expand Up @@ -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.

Expand Down
3 changes: 3 additions & 0 deletions code/modules/ruins/objects_and_mobs/necropolis_gate.dm
Expand Up @@ -70,6 +70,9 @@
/obj/structure/necropolis_gate/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.

Expand Down

0 comments on commit 6317b7b

Please sign in to comment.