mirror of
https://github.com/appgurueu/modlib.git
synced 2024-11-22 23:33:53 +01:00
Make table.find return nil if not found
This commit is contained in:
parent
233bda0123
commit
311ff9cb10
@ -349,7 +349,7 @@ function find(list, value)
|
|||||||
return index
|
return index
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
return false
|
return
|
||||||
end
|
end
|
||||||
|
|
||||||
contains = find
|
contains = find
|
||||||
|
Loading…
Reference in New Issue
Block a user