diff --git a/live.lua b/live.lua index 071d491..5f48e6e 100644 --- a/live.lua +++ b/live.lua @@ -225,7 +225,7 @@ function live.run(buf) if err then -- not possible; perhaps it's a .love file -- try to write to save dir - local status, err2 = App.write_file(App.save_dir..filename, buf) + local status, err2 = love.filesystem.write(filename, buf) if err2 then -- throw an error live.send_to_driver('ERROR '..tostring(err..'\n\n'..err2))