Skip to content

Commit

Permalink
fix: shadowing definition of argument i
Browse files Browse the repository at this point in the history
  • Loading branch information
bitpredator committed Jun 12, 2024
1 parent 9104417 commit 9a4e266
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ function CreateDataStore(name, owner, data)
local path = stringsplit(key, ".")
local obj = self.data

for i = 1, #path, 1 do
for _ = 1, #path, 1 do
obj = obj[path[i]]
end

Expand All @@ -46,7 +46,7 @@ function CreateDataStore(name, owner, data)
local path = stringsplit(key, ".")
local obj = self.data

for i = 1, #path, 1 do
for _ = 1, #path, 1 do
obj = obj[path[i]]
end

Expand Down

0 comments on commit 9a4e266

Please sign in to comment.