diff --git a/.luacheckrc b/.luacheckrc index 4b9429d..31175a1 100644 --- a/.luacheckrc +++ b/.luacheckrc @@ -23,5 +23,6 @@ read_globals = { "mcl_sounds", "pipeworks", "screwdriver", - "intllib" + "intllib", + "digilines" } diff --git a/lua/controller.lua b/lua/controller.lua index 892ae22..0e726a6 100644 --- a/lua/controller.lua +++ b/lua/controller.lua @@ -333,7 +333,7 @@ local function controller_node_timer(pos, elapsed) return true end - drawers_table_index = controller_get_drawer_index(pos, src_name) + local drawers_table_index = controller_get_drawer_index(pos, src_name) -- This might not be needed, but my concern is if the above indexing takes -- enough time, there could be a "race condition" where the item in the src