diff options
Diffstat (limited to '')
-rw-r--r-- | lib/LSL.lua | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/LSL.lua b/lib/LSL.lua index 6d84f90..07c8b30 100644 --- a/lib/LSL.lua +++ b/lib/LSL.lua | |||
@@ -686,10 +686,12 @@ end | |||
686 | 686 | ||
687 | function --[[list]] LSL.llListSort(--[[list]] l,--[[integer]] stride,--[[integer]] ascending) | 687 | function --[[list]] LSL.llListSort(--[[list]] l,--[[integer]] stride,--[[integer]] ascending) |
688 | local result = {} | 688 | local result = {} |
689 | local x = 0 | ||
689 | 690 | ||
690 | -- TODO - Deal with stride and ascending. | 691 | -- TODO - Deal with stride and ascending. |
691 | for i = 1,#l do | 692 | for i = 1,#l do |
692 | result[x] = l[i]; x = x + 1 | 693 | result[x] = l[i]; |
694 | x = x + 1 | ||
693 | end | 695 | end |
694 | table.sort(result) | 696 | table.sort(result) |
695 | 697 | ||