continue pulling on map edges / map portals

This commit is contained in:
Kashargul
2023-12-17 01:03:43 +01:00
committed by GitHub
parent ebf8450637
commit 727ed8f024
3 changed files with 36 additions and 5 deletions
@@ -51,7 +51,7 @@ when portals are shortly lived, or when portals are made to be obvious with spec
plane = TURF_PLANE
layer = ABOVE_TURF_LAYER
appearance_flags = NONE
var/obj/effect/map_effect/portal/counterpart = null // The portal line or master that this is connected to, on the 'other side'.
// Information used to apply `pixel_[x|y]` offsets so that the visuals line up.
@@ -93,7 +93,7 @@ when portals are shortly lived, or when portals are made to be obvious with spec
// pulled.forceMove(get_turf(counterpart))
pulled.forceMove(counterpart.get_focused_turf())
L.forceMove(counterpart.get_focused_turf())
L.start_pulling(pulled)
L.continue_pulling(pulled)
else
L.forceMove(counterpart.get_focused_turf())
else