mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-07-20 04:26:03 +01:00
fixes wormhole jaunter portals floating in space. (#61089)
This commit is contained in:
@@ -253,9 +253,7 @@
|
||||
RegisterSignal(portal1, COMSIG_PARENT_QDELETING, .proc/on_portal_destroy)
|
||||
RegisterSignal(portal2, COMSIG_PARENT_QDELETING, .proc/on_portal_destroy)
|
||||
|
||||
var/turf/check_turf = get_turf(get_step(user, user.dir))
|
||||
if(check_turf.CanPass(user, get_dir(check_turf, user)))
|
||||
portal1.forceMove(check_turf)
|
||||
try_move_adjacent(portal1, user.dir)
|
||||
active_portal_pairs[portal1] = portal2
|
||||
|
||||
investigate_log("was used by [key_name(user)] at [AREACOORD(user)] to create a portal pair with destinations [AREACOORD(portal1)] and [AREACOORD(portal2)].", INVESTIGATE_PORTAL)
|
||||
|
||||
Reference in New Issue
Block a user