aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/LuaSL/src/LSL.lua
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--LuaSL/src/LSL.lua5
1 files changed, 2 insertions, 3 deletions
diff --git a/LuaSL/src/LSL.lua b/LuaSL/src/LSL.lua
index c2e4d1c..7a47a69 100644
--- a/LuaSL/src/LSL.lua
+++ b/LuaSL/src/LSL.lua
@@ -567,12 +567,11 @@ function LSL.stateChange(x)
567 end 567 end
568end; 568end;
569 569
570function LSL.mainLoop(ourSID, x) 570function LSL.mainLoop(sid, x)
571 local sid = ourSID .. ".events"
572 local status, errorMsg = luaproc.newchannel(sid) 571 local status, errorMsg = luaproc.newchannel(sid)
573 local result 572 local result
574 573
575 SID = ourSID 574 SID = sid
576 575
577 if not status then 576 if not status then
578 msg("Can't open the luaproc channel " .. sid .. " ERROR MESSAGE: " .. errorMsg) 577 msg("Can't open the luaproc channel " .. sid .. " ERROR MESSAGE: " .. errorMsg)