From 20739ebd19e0d106cd74da63a81c0f6fcc02afce Mon Sep 17 00:00:00 2001 From: onefang Date: Mon, 6 Sep 2021 21:39:03 +1000 Subject: osTeleportAgent() -> osTeleportOwner() --- 1ring.lsl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/1ring.lsl b/1ring.lsl index 5f1d7c8..71c1b84 100644 --- a/1ring.lsl +++ b/1ring.lsl @@ -711,7 +711,7 @@ s("YAY! Freeeeeee at last!!!!!"); // Or at least to half the follow distance away. s("Teleporting you to " + osKey2Name(Stalkee) + " at " + llList2String(TPtDestination, 1) + " " + llList2String(TPtDestination, 2)); - osTeleportAgent(Owner, llList2String(TPtDestination, 1), llList2Vector(TPtDestination, 2), <1.0,1.0,1.0>); + osTeleportOwner(llList2String(TPtDestination, 1), llList2Vector(TPtDestination, 2), ZERO_VECTOR); } else if ("TESTS" == cmd) S("selected test " + data); @@ -1505,7 +1505,7 @@ d("HEY leashy! " + URL); if (dist > (2 *(RANGE + bb))) { s("Double TP to get closer."); - osTeleportAgent(Owner, llList2String(TPtDestination, 1), llList2Vector(TPtDestination, 2), <1.0,1.0,1.0>); + osTeleportOwner(llList2String(TPtDestination, 1), llList2Vector(TPtDestination, 2), ZERO_VECTOR); } TPtDestination = []; } -- cgit v1.1