small edit to table.find as mentioned in issue 556

This commit is contained in:
AJ Kelly
2011-09-30 12:07:29 -05:00
parent 465130086b
commit 51b949d637
+1 -1
View File
@@ -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