From 718215ce91984ff1b299dc36126c2a65499b18e7 Mon Sep 17 00:00:00 2001 From: Matei Adriel Date: Sat, 31 Dec 2022 19:30:30 +0100 Subject: [PATCH] Forgot to commit this last time --- lua/prescient-trains/scripts/helpers.lua | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/lua/prescient-trains/scripts/helpers.lua b/lua/prescient-trains/scripts/helpers.lua index 986bf62..57ed351 100644 --- a/lua/prescient-trains/scripts/helpers.lua +++ b/lua/prescient-trains/scripts/helpers.lua @@ -53,7 +53,7 @@ end ---@param at integer ---@param value T function M.list_insert(list, at, value) - table.insert(list,at, value) + table.insert(list, at, value) end ---Shallow copies some table @@ -64,7 +64,8 @@ function M.copy(object) local result = {} for k, v in pairs(object) do - result[k] = v end + result[k] = v + end return result end