mirror of
https://github.com/mt-mods/mail.git
synced 2025-07-05 06:00:29 -04:00
Fix migrate.lua non-declared variable
This commit is contained in:
parent
b8533f14ff
commit
0ce6a2d099
2 changed files with 1 additions and 3 deletions
|
@ -1,6 +1,6 @@
|
|||
function mail.migrate()
|
||||
local gen_file_v1 = io.open(minetest.get_worldpath().."/mail.db", "r")
|
||||
if file then
|
||||
if gen_file_v1 then
|
||||
mail.migrate_v1_to_v2()
|
||||
end
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue