summaryrefslogtreecommitdiff
path: root/indra/newview/scripts/lua/test_autopilot.lua
diff options
context:
space:
mode:
authorMnikolenko Productengine <mnikolenko@productengine.com>2024-09-26 17:20:47 +0300
committerMnikolenko Productengine <mnikolenko@productengine.com>2024-09-26 17:20:47 +0300
commit80066449b9cbee018dd1c874c02579b1cbd3d348 (patch)
tree08806b5cca91656c9296469447420099f53fbe23 /indra/newview/scripts/lua/test_autopilot.lua
parented7603bfe63ce5e8c1ff1101270e0406de01dc92 (diff)
update LLListener and related scripts
Diffstat (limited to 'indra/newview/scripts/lua/test_autopilot.lua')
-rw-r--r--indra/newview/scripts/lua/test_autopilot.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/indra/newview/scripts/lua/test_autopilot.lua b/indra/newview/scripts/lua/test_autopilot.lua
index 0560477d38..09c85c140a 100644
--- a/indra/newview/scripts/lua/test_autopilot.lua
+++ b/indra/newview/scripts/lua/test_autopilot.lua
@@ -7,7 +7,7 @@ pos[2]+=5 -- delta y
LLAgent.requestStand()
LLAgent.startAutoPilot{target_global=pos,allow_flying=false,stop_distance=1}
-local listener = LLListener()
+local listener = LLListener(LLAgent.autoPilotPump)
function listener:handleMessages(event_data)
if event_data.success then
@@ -19,4 +19,4 @@ function listener:handleMessages(event_data)
return false
end
-listener:start(LLAgent.autoPilotPump)
+listener:start()