diff options
author | Nat Goodspeed <nat@lindenlab.com> | 2024-05-24 10:08:35 -0400 |
---|---|---|
committer | Nat Goodspeed <nat@lindenlab.com> | 2024-05-24 10:08:35 -0400 |
commit | f700ec2e8b16eea8eded72839857c70a081fe478 (patch) | |
tree | 2959f8f27b5e0cc13b02b373cf5849a13392e84c /indra/newview/scripts/lua | |
parent | b0ef843fe0702482e843379b4975b2dda4d58935 (diff) | |
parent | 66a8b0ebb7fc1e6acdb0028f7ca8547153e10062 (diff) |
Merge branch 'release/luau-scripting' into lua-chatplus
Diffstat (limited to 'indra/newview/scripts/lua')
-rw-r--r-- | indra/newview/scripts/lua/test_LLChat.lua | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/indra/newview/scripts/lua/test_LLChat.lua b/indra/newview/scripts/lua/test_LLChat.lua index 3c5cbeeeb2..3abaf28e42 100644 --- a/indra/newview/scripts/lua/test_LLChat.lua +++ b/indra/newview/scripts/lua/test_LLChat.lua @@ -2,12 +2,12 @@ LLChat = require 'LLChat' function generateRandomWord(length) local alphabet = "abcdefghijklmnopqrstuvwxyz" - local word = {} + local wordTable = {} for i = 1, length do local randomIndex = math.random(1, #alphabet) - table.insert(word, alphabet:sub(randomIndex, randomIndex)) + table.insert(wordTable, alphabet:sub(randomIndex, randomIndex)) end - return table.concat(word) + return table.concat(wordTable) end local msg = {'AI says:'} |