Skip to content

Commit ad8984c

Browse files
fix/shim luacheck errors
1 parent e657d04 commit ad8984c

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

.luacheckrc

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@ globals = {
99
}
1010

1111
read_globals = {
12+
-- luanti (TODO: remove after lunarmodules/luacheck releases a version with proper luanti support)
13+
"core",
1214
-- mods
1315
"default", "mesecon", "digilines",
1416
"screwdriver", "unified_inventory",

tubes/lua.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -724,7 +724,7 @@ mesecon.queue:add_function("pipeworks:lc_tube_interrupt", function (pos, luac_id
724724
end)
725725

726726
mesecon.queue:add_function("pipeworks:lt_digiline_relay", function (pos, channel, luac_id, msg)
727-
if not digiline then return end
727+
if not digilines then return end
728728
-- This check is only really necessary because in case of server crash, old actions can be thrown into the future
729729
if (minetest.get_meta(pos):get_int("luac_id") ~= luac_id) then return end
730730
if (minetest.registered_nodes[minetest.get_node(pos).name].is_burnt) then return end

0 commit comments

Comments
 (0)