From c5c53b63eeb2f9d409d6e008c6ec4e2c89b88d64 Mon Sep 17 00:00:00 2001 From: Juraj Vajda Date: Sun, 26 Feb 2023 10:42:06 -0500 Subject: [PATCH] 3 Fix indentation --- api.lua | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/api.lua b/api.lua index 8932f7d..7bae93f 100644 --- a/api.lua +++ b/api.lua @@ -309,9 +309,9 @@ end ---Find element v of t satisfying f(v) local function tableFind(t, f) for _, v in ipairs(t) do - if f(v) then - return v - end + if f(v) then + return v + end end return nil