diff options
Diffstat (limited to 'internal.lua')
-rw-r--r-- | internal.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/internal.lua b/internal.lua index f52b954..83ae3d5 100644 --- a/internal.lua +++ b/internal.lua @@ -5,7 +5,7 @@ end -- Save the areas table to a file function areas:save() - file, err = io.open(self.filename, "w") + local file, err = io.open(self.filename, "w") if err then return err end @@ -15,7 +15,7 @@ end -- Load the areas table from the save file function areas:load() - file, err = io.open(self.filename, "r") + local file, err = io.open(self.filename, "r") if err then self.areas = self.areas or {} return err |