summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.luacheckrc8
-rw-r--r--init.lua2
2 files changed, 9 insertions, 1 deletions
diff --git a/.luacheckrc b/.luacheckrc
new file mode 100644
index 0000000..257113e
--- /dev/null
+++ b/.luacheckrc
@@ -0,0 +1,8 @@
+max_line_length = 160
+
+read_globals = {
+ "minetest",
+ "vector",
+ "digilines",
+ "screwdriver",
+}
diff --git a/init.lua b/init.lua
index 45f8663..cd22d40 100644
--- a/init.lua
+++ b/init.lua
@@ -136,7 +136,7 @@ minetest.register_node("digiscreen:digiscreen",{
end,
digiline = {
wire = {
- rules = digiline.rules.default,
+ rules = digilines.rules.default,
},
effector = {
action = function(pos,_,channel,msg)