Skip to content

Commit

Permalink
Fix luacheck errors
Browse files Browse the repository at this point in the history
  • Loading branch information
lnjX committed Jun 6, 2020
1 parent 87bc535 commit 905af2a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion .luacheckrc
Original file line number Diff line number Diff line change
Expand Up @@ -23,5 +23,6 @@ read_globals = {
"mcl_sounds",
"pipeworks",
"screwdriver",
"intllib"
"intllib",
"digilines"
}
2 changes: 1 addition & 1 deletion lua/controller.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 905af2a

Please sign in to comment.