diff options
author | David Walter Seikel | 2014-05-16 09:28:35 +1000 |
---|---|---|
committer | David Walter Seikel | 2014-05-16 09:28:35 +1000 |
commit | f0175f805b51ca851a2d2b203aff84eee195cf8f (patch) | |
tree | 6ec47064bdd814af877b9186e34c89c6265bef1b /lib | |
parent | Shouting creates logs for now. (diff) | |
download | SledjHamr-f0175f805b51ca851a2d2b203aff84eee195cf8f.zip SledjHamr-f0175f805b51ca851a2d2b203aff84eee195cf8f.tar.gz SledjHamr-f0175f805b51ca851a2d2b203aff84eee195cf8f.tar.bz2 SledjHamr-f0175f805b51ca851a2d2b203aff84eee195cf8f.tar.xz |
llList2String returns booleans properly now.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/LSL.lua | 3 |
1 files changed, 3 insertions, 0 deletions
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 | |||
630 | function --[[string]] LSL.llList2String(--[[list]] l,--[[integer]] index) | 630 | function --[[string]] LSL.llList2String(--[[list]] l,--[[integer]] index) |
631 | local result = l[index+1] | 631 | local result = l[index+1] |
632 | 632 | ||
633 | if 'boolean' == type(result) then | ||
634 | if result then result = 'true' else result = 'false' end | ||
635 | end | ||
633 | if 'table' == type(result) then | 636 | if 'table' == type(result) then |
634 | -- Figure out if things are vectors or rotations, so we can output <> instead of []. | 637 | -- Figure out if things are vectors or rotations, so we can output <> instead of []. |
635 | if nil == result.x then | 638 | if nil == result.x then |