From 311ff9cb106a7c659d53a561b35cb1ba49cfbc89 Mon Sep 17 00:00:00 2001 From: Lars Mueller Date: Sat, 6 Feb 2021 11:48:00 +0100 Subject: [PATCH] Make table.find return nil if not found --- table.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/table.lua b/table.lua index 6e723da..647c14f 100644 --- a/table.lua +++ b/table.lua @@ -349,7 +349,7 @@ function find(list, value) return index end end - return false + return end contains = find