From f0175f805b51ca851a2d2b203aff84eee195cf8f Mon Sep 17 00:00:00 2001 From: David Walter Seikel Date: Fri, 16 May 2014 09:28:35 +1000 Subject: llList2String returns booleans properly now. --- lib/LSL.lua | 3 +++ 1 file changed, 3 insertions(+) (limited to 'lib') diff --git a/lib/LSL.lua b/lib/LSL.lua index 713a605..5d728c7 100644 --- a/lib/LSL.lua +++ b/lib/LSL.lua @@ -630,6 +630,9 @@ end function --[[string]] LSL.llList2String(--[[list]] l,--[[integer]] index) local result = l[index+1] + if 'boolean' == type(result) then + if result then result = 'true' else result = 'false' end + end if 'table' == type(result) then -- Figure out if things are vectors or rotations, so we can output <> instead of []. if nil == result.x then -- cgit v1.1