mirror of
https://github.com/sbrl/Minetest-WorldEditAdditions.git
synced 2024-11-27 09:33:52 +01:00
small fix to file:read error
This commit is contained in:
parent
8d9f51de35
commit
55ddc16b2e
@ -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 New Issue
Block a user