summaryrefslogtreecommitdiff
path: root/indra/newview/scripts/lua
diff options
context:
space:
mode:
authorNat Goodspeed <nat@lindenlab.com>2024-05-24 10:08:35 -0400
committerNat Goodspeed <nat@lindenlab.com>2024-05-24 10:08:35 -0400
commitf700ec2e8b16eea8eded72839857c70a081fe478 (patch)
tree2959f8f27b5e0cc13b02b373cf5849a13392e84c /indra/newview/scripts/lua
parentb0ef843fe0702482e843379b4975b2dda4d58935 (diff)
parent66a8b0ebb7fc1e6acdb0028f7ca8547153e10062 (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.lua6
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:'}