aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/LSL.lua2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/LSL.lua b/lib/LSL.lua
index 65aef77..695c05d 100644
--- a/lib/LSL.lua
+++ b/lib/LSL.lua
@@ -802,9 +802,11 @@ function waitAndProcess(returnWanted)
802 elseif result1 then 802 elseif result1 then
803 -- Check if we are waiting for a return, and got it. 803 -- Check if we are waiting for a return, and got it.
804 if returnWanted and string.match(message, "^return ") then 804 if returnWanted and string.match(message, "^return ") then
805-- print("RETURNING " .. result1)
805 return result1 806 return result1
806 end 807 end
807 -- Otherwise, just run it and keep looping. 808 -- Otherwise, just run it and keep looping.
809-- print("RUNNING " .. result1)
808 status, errorMsg = luaproc.send(sid, result1) 810 status, errorMsg = luaproc.send(sid, result1)
809 if not status then 811 if not status then
810 msg("Error sending results from " .. Type .. ": " .. message .. " ERROR MESSAGE: " .. errorMsg) 812 msg("Error sending results from " .. Type .. ": " .. message .. " ERROR MESSAGE: " .. errorMsg)