diff --git a/.luacheckrc b/.luacheckrc index 5b3d0e4..dc03d95 100644 --- a/.luacheckrc +++ b/.luacheckrc @@ -1,7 +1,3 @@ -globals = { - "sound_api", -} - read_globals = { "minetest", "mcl_sounds", "default", "ks_sounds", "nodes_nature", "fl_stone", "fl_topsoil", "fl_trees", } \ No newline at end of file diff --git a/init.lua b/init.lua index 122b4c1..9dc6b24 100644 --- a/init.lua +++ b/init.lua @@ -1,4 +1,4 @@ -sound_api = {} +local sound_api = {} --convert some games for api usage