small edit to table.find as mentioned in issue 556
This commit is contained in:
@@ -135,7 +135,7 @@ end
|
||||
function table.find(t, sFind)
|
||||
for _, v in pairs(t) do
|
||||
if v == sFind then
|
||||
return i
|
||||
return _
|
||||
end
|
||||
end
|
||||
return nil
|
||||
|
||||
Reference in New Issue
Block a user