Merge pull request #49737 from Dennok/patch-4

Hand Tele try place portal ahead of user.
This commit is contained in:
ShizCalev
2020-03-06 21:52:47 -05:00
committed by GitHub
2 changed files with 8 additions and 5 deletions
+1 -1
View File
@@ -203,7 +203,7 @@
return
RegisterSignal(created[1], COMSIG_PARENT_QDELETING, .proc/on_portal_destroy) //Gosh darn it kevinz.
RegisterSignal(created[2], COMSIG_PARENT_QDELETING, .proc/on_portal_destroy)
try_move_adjacent(created[1])
try_move_adjacent(created[1], user.dir)
active_portal_pairs[created[1]] = created[2]
var/obj/effect/portal/c1 = created[1]
var/obj/effect/portal/c2 = created[2]