mirror of
https://github.com/sbrl/Minetest-WorldEditAdditions.git
synced 2024-11-22 07:23:00 +00:00
small fix to file:read error
This commit is contained in:
parent
8d9f51de35
commit
55ddc16b2e
1 changed files with 1 additions and 1 deletions
|
@ -16,7 +16,7 @@ setting_handler.read = function()
|
|||
local file, err = io.open(path .. "/settings.conf", "rb")
|
||||
if err then return false end
|
||||
-- Split by newline
|
||||
-- local settings = wea_c.split(file:read(),"[\n\r]+")
|
||||
-- local settings = wea_c.split(file:read("*a"),"[\n\r]+")
|
||||
file:close()
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in a new issue