small fix to file:read error

This commit is contained in:
VorTechnix 2023-07-04 14:50:14 -07:00
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