diff options
author | Kartik K. Agaram <vc@akkartik.com> | 2022-06-14 22:06:08 -0700 |
---|---|---|
committer | Kartik K. Agaram <vc@akkartik.com> | 2022-06-14 22:06:08 -0700 |
commit | 15acc38da950bfc0c7c3eec4d1ce8d86989921c7 (patch) | |
tree | 1338e51b40ee6d510a7cbfebf1933f1f602f86b3 /file.lua | |
parent | d077ce7f42efd6deab7543e39ffa253222fac71d (diff) | |
download | lines.love-15acc38da950bfc0c7c3eec4d1ce8d86989921c7.tar.gz |
test: autosave after any shape
Diffstat (limited to 'file.lua')
-rw-r--r-- | file.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/file.lua b/file.lua index 33c624c..d3ccca2 100644 --- a/file.lua +++ b/file.lua @@ -2,7 +2,7 @@ Drawing = require 'drawing' function load_from_disk(filename) - local infile = io.open(filename) + local infile = App.open_for_reading(filename) local result = load_from_file(infile) if infile then infile:close() end return result |