mirror of
https://github.com/minetest-mods/carpets.git
synced 2024-12-21 04:45:42 +01:00
Fix the return value
This commit is contained in:
parent
ffb24d285f
commit
66c935c91c
2
init.lua
2
init.lua
@ -8,7 +8,7 @@ dofile(modpath .. "/api.lua")
|
|||||||
local depends = (function()
|
local depends = (function()
|
||||||
local file = io.open(modpath .. "/depends.txt")
|
local file = io.open(modpath .. "/depends.txt")
|
||||||
if not file then
|
if not file then
|
||||||
return
|
return {}
|
||||||
end
|
end
|
||||||
|
|
||||||
local depends = {}
|
local depends = {}
|
||||||
|
Loading…
Reference in New Issue
Block a user